[Numpy-discussion] sign, signbit and nans once again.
Charles R Harris
Mon Mar 9 22:31:39 CDT 2009
I want to get this settled for the 1.3 release. My thoughts are:
- signbit returns the signbit whether or not the number is a nan.
- sign returns nan for nans.
Copysign is currently unimplemented. I'm thinking of adding it, but making
it return nans when copying the sign of a nan. This isn't how it is in BSD,
but the behavior in this case is unspecified by the standard.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion