XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ i1mach()

int i1mach ( int  i)

Machine parameters (integer constants)

Purpose
Determines the inerger machine parameters.
Returns
The value specified by i. (0 will be returned if i is invalid.)
Parameters
[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