LAPACK
3.6.1
LAPACK: Linear Algebra PACKage
|
subroutine slamc5 | ( | integer | BETA, |
integer | P, | ||
integer | EMIN, | ||
logical | IEEE, | ||
integer | EMAX, | ||
real | RMAX | ||
) |
SLAMC5
Purpose:
SLAMC5 attempts to compute RMAX, the largest machine floating-point number, without overflow. It assumes that EMAX + abs(EMIN) sum approximately to a power of 2. It will fail on machines where this assumption does not hold, for example, the Cyber 205 (EMIN = -28625, EMAX = 28718). It will also fail if the value supplied for EMIN is too large (i.e. too close to zero), probably with overflow.
[in] | BETA | The base of floating-point arithmetic. |
[in] | P | The number of base BETA digits in the mantissa of a floating-point value. |
[in] | EMIN | The minimum exponent before (gradual) underflow. |
[in] | IEEE | A logical flag specifying whether or not the arithmetic system is thought to comply with the IEEE standard. |
[out] | EMAX | The largest exponent before overflow |
[out] | RMAX | The largest machine floating-point number. |
Definition at line 802 of file slamchf77.f.