osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why float('Nan') == float('Nan') is False


On 2/13/19 1:53 PM, Grant Edwards wrote:

> Floating point is sort of the quantum mechanics of computer science.
> At first glance, it seems sort of weird.  But after you work with it a
> while, it gets even worse.

Yep!  :-)