IEEE 754 special numbers (double precision)
- Purpose
- Returns special numbers in IEEE 754 double precision floating-point arithmetic.
- Returns
- float
The value specified by i. (0 will be returned if i is invalid.)
- Parameters
-
| [in] | i | Specifies the value to be returned.
= 1: Positive infinity (+∞) (7ff0 0000 0000 0000 in hexadecimal representation)
= 2: Negative infinity (-∞) (fff0 0000 0000 0000 in hexadecimal representation)
= 3: Not a number (qNaN) (7ff8 0000 0000 0000 in hexadecimal representation)
= 4: Not a number (-qNaN) (fff0 0000 0000 0000 in hexadecimal representation) |