What is the sign of nan?
29 Sep
2008
29 Sep
'08
9:52 p.m.
Hi All, I've been cleaning up the ufunc loops and the sign function currently doesn't have a defined behavior for nans. This makes the results depend on the order/type of comparisons in the code, which looks fragile to me. So what should it return? I vote for nan but am open for suggestions. Chuck
5659
Age (days ago)
5660
Last active (days ago)
35 comments
5 participants
participants (5)
-
Charles R Harris
-
David Cournapeau
-
Nathan Bell
-
Pete Forman
-
Robert Kern