NaN handling

Robert Kern robert.kern at gmail.com
Sat May 6 15:20:12 EDT 2006


Alexander Schmolck wrote:
> Robert Kern <robert.kern at gmail.com> writes:
>>Ivan Vinogradov wrote:

>>>Since numpy seems to be working on a variety of platforms/hardware,
>>>how hard would it be to extract this functionality from it to add to  
>>>Python proper?
>>
>>Harder than just enabling fpectl.
> 
> Last thing I heard fpectl was considered to be completely broken -- it's
> likely not disabled by default for no reason.

Fair enough. If you want to go through numpy's code to rip out its floating
point error handling, knock yourself out. It's not going to be trivial, though.
It's heavily embedded in the ufunc machinery.

-- 
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 Python-list mailing list