XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ D1num()

Function D1num ( I 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]ISpecifies 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)