Charles R Harris wrote: > > > On Mon, Sep 29, 2008 at 9:02 PM, David Cournapeau > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > Charles R Harris wrote: > > > > So the proposition is, sign, max, min return nan when any of the > > arguments is nan. > > Note that internally, signbit (the C function) returns an integer. > > > That is the signature of the ufunc. It could be changed...
Nope, I am talking about the C99 signbit macro. man signbit tells me: NAME signbit - test sign of a real floating point number SYNOPSIS #include <math.h> int signbit(x); Compile with -std=c99; link with -lm. cheers, David _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion