|
|
◆ D1num_sub()
| Sub D1num_sub |
( |
Ret As |
Double, |
|
|
I As |
Long, |
|
|
Optional Info As |
Long |
|
) |
| |
IEEE 754 special numbers (double precision) (Subroutine version)
- Purpose
- Returns special numbers in IEEE 754 double precision floating-point arithmetic.
- Parameters
-
| [out] | Ret | The value specified by I. (0 will be returned if I is invalid.) |
| [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) |
|