XLPack 6.1
Julia API Reference Manual
Loading...
Searching...
No Matches

◆ d1num()

function d1num ( i::Integer  )

IEEE 754 special numbers (double precision)

Purpose
Returns special numbers in IEEE 754 double precision floating-point arithmetic.
Returns
Float64
The value specified by i. (0 will be returned if i is invalid.)
Parameters
[in]iSpecifies 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)