@linuxgal
Note that this isn't Python-specific behaviour. This is required by the IEEE-754 floating-point standard, which Python (and most other runtimes) conform to.
NaN, Inf, -Inf, comparison rules, exceptions ... it's all in there.
#Python #IEEE754 #FloatingPoint #math #standard