[Numpy-discussion] annoying numpy string to float conversion behaviour
Mon Jun 25 16:10:46 CDT 2007
Torgil Svensson wrote:
> On 6/25/07, Robert Kern <email@example.com> wrote:
>> NaNs and infs are IEEE-754 concepts. Python does run on non-IEEE-754 platforms,
>> and I don't think that python-dev will want to entirely exclude them. You will
>> have to do *something* about those platforms. Possibly, they just won't support
>> NaNs and infs at all, but you'd have to make sure that the bit pattern that is a
>> NaN on IEEE-754 systems won't be misinterpreted as a NaN on the non-IEEE-754
> Sounds like some clever #ifdefs is needed here. How does isnan()
> dealing with this?
It doesn't. numpy does require IEEE-754.
"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