lamch#
Functions
-
f32 slamch(const char *cmach)#
SLAMCH determines single precision machine parameters.
Parameters
incmachSpecifies the value to be returned by slamch:
cmach='E': eps (relative machine precision).cmach='S': sfmin (safe minimum, such that1/sfmindoes not overflow).cmach='B': base (base of the machine).cmach='P': eps*base.cmach='N': t (number of digits in the mantissa).cmach='R': rnd (1.0 when rounding occurs in addition, 0.0 otherwise).cmach='M': emin (minimum exponent before underflow).cmach='U': rmin (underflow threshold).cmach='L': emax (largest exponent before overflow).cmach='O': rmax (overflow threshold).- Returns:
The requested machine parameter.
f32 slamch(
const char* cmach
);
Functions
-
f64 dlamch(const char *cmach)#
DLAMCH determines double precision machine parameters.
Parameters
incmachSpecifies the value to be returned by dlamch:
cmach='E': eps (relative machine precision).cmach='S': sfmin (safe minimum, such that1/sfmindoes not overflow).cmach='B': base (base of the machine).cmach='P': eps*base.cmach='N': t (number of digits in the mantissa).cmach='R': rnd (1.0 when rounding occurs in addition, 0.0 otherwise).cmach='M': emin (minimum exponent before underflow).cmach='U': rmin (underflow threshold).cmach='L': emax (largest exponent before overflow).cmach='O': rmax (overflow threshold).- Returns:
The requested machine parameter.
f64 dlamch(
const char* cmach
);