The special values of the floating-point format are inf and -inf, the results of an overflow beyond the largest float; nan (“not a number”), the result of an operation that has no meaning, such as ; and -0.0, a zero that remembers it came from the negative side. Every comparison with nan is false, even nan == nan.
Computer Science · Begrippenlijst
Wat is Special values?
Ook bekend als: special values (infinity, NaN)