|
|
◆ D1num()
| Function D1num |
( |
I As |
Long, |
|
|
Optional Info As |
Long |
|
) |
| |
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) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument I had an illegal value. (I < 1 or I > 4) |
|