Learning Scientific Programming with Python (2nd edition)
Q10.1.5: Checking for nan without using isnan
Question Q10.1.5
How could you establish whether a floating point number is nan
or not without using math.isnan
or numpy.isnan
?
Learning Scientific Programming with Python (2nd edition)
How could you establish whether a floating point number is nan
or not without using math.isnan
or numpy.isnan
?