![]() |
LAPACK
3.4.0
LAPACK: Linear Algebra PACKage
|
Go to the source code of this file.
Functions/Subroutines | |
| REAL function | SLAMCH (CMACH) |
| SLAMCH | |
| subroutine | SLAMC1 (BETA, T, RND, IEEE1) |
| SLAMC1 | |
| subroutine | SLAMC2 (BETA, T, RND, EPS, EMIN, RMIN, EMAX, RMAX) |
| SLAMC2 | |
| REAL function | SLAMC3 (A, B) |
| SLAMC3 | |
| subroutine | SLAMC4 (EMIN, START, BASE) |
| SLAMC4 | |
| subroutine | SLAMC5 (BETA, P, EMIN, IEEE, EMAX, RMAX) |
| SLAMC5 | |
| REAL function SLAMC3 | ( | REAL | A, |
| REAL | B | ||
| ) |
SLAMC3
Purpose:
SLAMC3 is intended to force A and B to be stored prior to doing the addition of A and B , for use in situations where optimizers might hold one of these in a register.
| [in] | A | |
| [in] | B |
The values A and B.
|
Definition at line 676 of file slamchf77.f.
| subroutine SLAMC4 | ( | INTEGER | EMIN, |
| REAL | START, | ||
| INTEGER | BASE | ||
| ) |
SLAMC4
Purpose:
SLAMC4 is a service routine for SLAMC2.
| [out] | EMIN |
The minimum exponent before (gradual) underflow, computed by
setting A = START and dividing by BASE until the previous A
can not be recovered.
|
| [in] | START |
The starting point for determining EMIN.
|
| [in] | BASE |
The base of the machine.
|
Definition at line 723 of file slamchf77.f.
| 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 831 of file slamchf77.f.