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

Robert Kern robert.kern@gmail....
Mon Jun 25 16:11:17 CDT 2007

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


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