Does Python have "not a number" floating point values?

Paul Magwene paul.magwene at yale.edu
Tue Jul 18 09:47:28 EDT 2000


Janko Hauser wrote:
> 
> This raised a floating point exception on an Alpha machine. At the
> moment this is not portable.
> 
> __Janko
> 
> --
>   Institut fuer Meereskunde             phone: 49-431-597 3989
>   Dept. Theoretical Oceanography        fax  : 49-431-565876
>   Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
>   24105 Kiel, Germany

On FreeBSD (v3.5-Stable) this core dumps as well, as does:

Nan = math.exp(1000)/math.exp(1000)

-- 

Paul Magwene
paul.magwene at yale.edu



More information about the Python-list mailing list