LAPACK
3.6.1
LAPACK: Linear Algebra PACKage
|
subroutine slamc2 | ( | integer | BETA, |
integer | T, | ||
logical | RND, | ||
real | EPS, | ||
integer | EMIN, | ||
real | RMIN, | ||
integer | EMAX, | ||
real | RMAX | ||
) |
SLAMC2
Purpose:
SLAMC2 determines the machine parameters specified in its argument list.
[out] | BETA | The base of the machine. |
[out] | T | The number of ( BETA ) digits in the mantissa. |
[out] | RND | Specifies whether proper rounding ( RND = .TRUE. ) or chopping ( RND = .FALSE. ) occurs in addition. This may not be a reliable guide to the way in which the machine performs its arithmetic. |
[out] | EPS | The smallest positive number such that fl( 1.0 - EPS ) .LT. 1.0, where fl denotes the computed value. |
[out] | EMIN | The minimum exponent before (gradual) underflow occurs. |
[out] | RMIN | The smallest normalized number for the machine, given by BASE**( EMIN - 1 ), where BASE is the floating point value of BETA. |
[out] | EMAX | The maximum exponent before overflow occurs. |
[out] | RMAX | The largest positive number for the machine, given by BASE**EMAX * ( 1 - EPS ), where BASE is the floating point value of BETA. |
Further Details
The computation of EPS is based on a routine PARANOIA by W. Kahan of the University of California at Berkeley.
Definition at line 424 of file slamchf77.f.