IEEE 754 special numbers (double precision)
- Purpose
- Returns special numbers in IEEE 754 double precision floating-point arithmetic.
- Returns
- Double
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 (+∞)
= 2: Negative infinity (-∞)
= 3: Not a number (qNaN) (7ff8 0000 0000 0000 in hexadecimal representation)
= 4: Not a number (-qNaN) (fff8 0000 0000 0000 in hexadecimal representation) |