Checking for nan without using isnan

Question Q9.1.5

How can you establish whether a floating point number is nan or not without using math.isnan or numpy.isnan?


Solution Q9.1.5