lamch#

Functions

f32 slamch(
    const char* cmach
);
f32 slamch(const char *cmach)#

SLAMCH determines single precision machine parameters.

Parameters

in
cmach

Specifies the value to be returned by slamch: = ‘E’ or ‘e’: slamch := eps (relative machine precision) = ‘S’ or ‘s’: slamch := sfmin (safe minimum, 1/sfmin doesn’t overflow) = ‘B’ or ‘b’: slamch := base (base of the machine) = ‘P’ or ‘p’: slamch := eps*base = ‘N’ or ‘n’: slamch := t (number of digits in mantissa) = ‘R’ or ‘r’: slamch := rnd (1.0 if rounding, 0.0 otherwise) = ‘M’ or ‘m’: slamch := emin (minimum exponent) = ‘U’ or ‘u’: slamch := rmin (underflow threshold) = ‘L’ or ‘l’: slamch := emax (largest exponent) = ‘O’ or ‘o’: slamch := rmax (overflow threshold)

Functions

f64 dlamch(
    const char* cmach
);
f64 dlamch(const char *cmach)#

DLAMCH determines f64 precision machine parameters.

Parameters

in
cmach

Specifies the value to be returned by dlamch: = ‘E’ or ‘e’: dlamch := eps (relative machine precision) = ‘S’ or ‘s’: dlamch := sfmin (safe minimum, 1/sfmin doesn’t overflow) = ‘B’ or ‘b’: dlamch := base (base of the machine) = ‘P’ or ‘p’: dlamch := eps*base = ‘N’ or ‘n’: dlamch := t (number of digits in mantissa) = ‘R’ or ‘r’: dlamch := rnd (1.0 if rounding, 0.0 otherwise) = ‘M’ or ‘m’: dlamch := emin (minimum exponent) = ‘U’ or ‘u’: dlamch := rmin (underflow threshold) = ‘L’ or ‘l’: dlamch := emax (largest exponent) = ‘O’ or ‘o’: dlamch := rmax (overflow threshold)