XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ I1mach_sub()

Sub I1mach_sub ( Ret As  Long,
I As  Long 
)

Machine parameters (integer machine dependent constants) (Subroutine version)

Purpose
Provides the integer machine dependent constants.
Parameters
[out]RetThe value specified by I. (0 will be returned if I is invalid.)
[in]ISpecifies the value to be returned.
Words:
= 5: Number of bits per integer storage unit
= 6: Number of characters per integer storage unit
Integers:
= 7: A, the base
= 8: S, the number of base-A digits
= 9: A^S - 1, the largest magnitude
Floating point numbers:
= 10: B, the base
Single precision:
= 11: t, the number of base-B digits
= 12: L, the smallest exponent e
= 13: U, the largest exponent e
Double precision:
= 14: t, the number of base-B digits
= 15: L, the smallest exponent e
= 16: U, the largest exponent e
Reference
SLATEC