[Numpy-discussion] sorting -inf, nan, inf

Tim Hochberg tim.hochberg at ieee.org
Tue Sep 19 16:37:12 CDT 2006


A. M. Archibald wrote:
> On 19/09/06, Charles R Harris <charlesr.harris at gmail.com> wrote:
>
>   
>> If this sort of thing can cause unexpected errors I wonder if it would be
>> worth it to have a global debugging flag that essentially causes  isnan to
>> be called before any function applications.
>>     
>
> That sounds very like the IEEE floating-point flags, which would be
> extremely useful to have, and which are being wored on, IIRC.
>   
Are you referring to numpy.geterr / seterr? These exist, but they don't 
seem to be working right as of 1.0b4 (my installation is a little out of 
date).

-tim





More information about the Numpy-discussion mailing list