NaN support etc.
Andreas Beyer
beyer at imb-jena.de
Wed May 18 13:46:17 EDT 2005
Hi,
How do I find out if NaN, infinity and alike is supported on the current
python platform?
I could do the following:
try:
nan = float('NaN')
have_nan = True
except ValueError:
have_nan = False
Is there an 'official' handle for obtaining this information?
Similar: How do I get the maximum/minimum double for current machine?
Thanks! Andreas
Please, cc me, as I am not on the list. Thanks!
More information about the Python-list
mailing list