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

Robert Kern robert.kern at gmail.com
Mon Jun 25 17:11:17 EDT 2007

Torgil Svensson wrote:
> 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?


Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list