A
Andreas Beyer
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!
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!