NaN handling

Ivan Vinogradov vinogri at mcmaster.ca
Fri May 5 19:39:21 EDT 2006


On 5-May-06, at 6:45 PM, Grant Edwards wrote:

> On 2006-05-05, Robert Kern <robert.kern at gmail.com> wrote:
>
>>> Our programming expectations may differ, but an option to catch  
>>> NaNs as
>>> an exception is a great idea.
>>
> [...]
>
>> Pure Python has a similar, but somewhat less flexible method, on  
>> UNIX platforms.
>>
>>   http://docs.python.org/dev/lib/module-fpectl.html
>
> For which "Unix" platforms?  It's not there under Linux:
<snip>

It doesn't seem to be here under OSX either (universal Python install).

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?

Cheers, Ivan.



More information about the Python-list mailing list