This function retrieves machine integer constants that define the arithmetic used by the computer.
IMACH(1) = Number of bits per integer storage unit.
IMACH(2) = Number of characters per integer storage unit:
Integers are represented in M-digit, base A form as
where s is the sign and 0 ≤ xk < A, k = 0, ¼, M.
IMACH(4) = M, the number of base-A digits.
IMACH(5) = AM - 1, the largest integer.
The machine model assumes that floating-point numbers are represented in normalized N-digit, base B form as
where s is the sign, 0 < x1 < B, 0 ≤ xk < B, k = 2, ¼, N and Emin ≤ E ≤ Emax. Then,
I — Index of the desired constant. (Input)
Specific: The specific interface name is IMACH.
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |