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

Torgil Svensson torgil.svensson at gmail.com
Mon Jun 25 17:09:47 EDT 2007


On 6/25/07, Warren Focke <focke at 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