Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Used by ?lamch. Determines machine parameters specified in its arguments list.
call slamc2( beta, t, rnd, eps, emin, rmin, emax, rmax )
call dlamc2( beta, t, rnd, eps, emin, rmin, emax, rmax )
The routine ?lamc2 determines machine parameters specified in its arguments list.
INTEGER. The base of the machine.
INTEGER. The number of (beta) digits in the mantissa.
LOGICAL.
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.
REAL for slamc2
DOUBLE PRECISION for dlamc2
The smallest positive number such that
fl(1.0 - eps) < 1.0,
where fl denotes the computed value.
INTEGER. The minimum exponent before (gradual) underflow occurs.
REAL for slamc2
DOUBLE PRECISION for dlamc2
The smallest normalized number for the machine, given by
baseemin-1,
where base is the floating point value of beta.
INTEGER.The maximum exponent before overflow occurs.
REAL for slamc2
DOUBLE PRECISION for dlamc2
The largest positive number for the machine, given by baseemax(1 - eps), where base is the floating point value of beta.