[Numpy-discussion] annoying numpy string to float conversion behaviour

Torgil Svensson torgil.svensson@gmail....
Mon Jun 25 16:09:47 CDT 2007


On 6/25/07, Warren Focke <focke@slac.stanford.edu> wrote:

> False.  No NaN should ever compare equal to anything, even itself.  But if
> the system is 754-compliant, it won't.
>
> "isnan(float(str(nan))) == True" would be nice, though.
>

Good point. Does this also hold true for the quiet nan's?

//Torgil


More information about the Numpy-discussion mailing list