isnan? isinf?

Vic Kelson vic at k-creations.com
Mon Nov 6 15:17:59 EST 2000


Greetings,

Is there a function in Python to check for NaN or Inf after a
floating-point calculation?  I know of the Numeric extension from
Starship, but I need a test for a single floating-point value.

THANKS,
Vic.




More information about the Python-list mailing list