notanumber
Notanumber, commonly written NaN, stands for Not a Number and is a value used to denote an undefined or unrepresentable result in floating-point arithmetic.
In IEEE 754 floating-point systems, NaN values are represented with all exponent bits set to 1 and
NaN has distinctive arithmetic behavior: any operation that involves NaN typically yields NaN, and NaN participates
NaN is generated by invalid or undefined operations, such as 0/0, the square root of a negative
Across programming languages and platforms, the exact handling and exposure of NaN can vary. Some environments