On Fri, May 16, 2008 at 11:23 AM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Fri, May 16, 2008 at 11:23 AM, Stuart Brorson <[EMAIL PROTECTED]> wrote: >> In [66]: numpy.sign(numpy.nan) >> Out[66]: 0.0 >> >> IMO, the output should be NaN, not zero. > > You're probably right. I would like to see what other systems do > before changing it, though.
octave:1> sign(nan) ans = NaN _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
