LAPACK
3.6.1
LAPACK: Linear Algebra PACKage
|
subroutine dlamc5 | ( | integer | BETA, |
integer | P, | ||
integer | EMIN, | ||
logical | IEEE, | ||
integer | EMAX, | ||
double precision | RMAX | ||
) |
DLAMC5
Purpose:
DLAMC5 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 797 of file dlamchf77.f.