slamch (l) - Linux Manuals
slamch: single precision machine parameters
NAME
SLAMCH - single precision machine parametersSYNOPSIS
- REAL FUNCTION
 - SLAMCH( CMACH )
 
- CHARACTER CMACH
 
PURPOSE
SLAMCH determines single precision machine parameters.ARGUMENTS
- CMACH (input) CHARACTER*1
 - 
Specifies the value to be returned by SLAMCH:
= aqEaq or aqeaq, SLAMCH := eps
= aqSaq or aqs , SLAMCH := sfmin
= aqBaq or aqbaq, SLAMCH := base
= aqPaq or aqpaq, SLAMCH := eps*base
= aqNaq or aqnaq, SLAMCH := t
= aqRaq or aqraq, SLAMCH := rnd
= aqMaq or aqmaq, SLAMCH := emin
= aqUaq or aquaq, SLAMCH := rmin
= aqLaq or aqlaq, SLAMCH := emax
= aqOaq or aqoaq, SLAMCH := rmaxwhere
 - eps = relative machine precision
 - 
sfmin = safe minimum, such that 1/sfmin does not overflow
base  = base of the machine
prec  = eps*base
t     = number of (base) digits in the mantissa
rnd   = 1.0 when rounding occurs in addition, 0.0 otherwise
emin  = minimum exponent before (gradual) underflow
rmin  = underflow threshold - base**(emin-1)
emax  = largest exponent before overflow
rmax  = overflow threshold  - (base**emax)*(1-eps)