slamch(3P) Sun Performance Library slamch(3P)NAMEslamch - Determines single precision machine parameters.
SYNOPSIS
REAL FUNCTION SLAMCH(CMACH)
CHARACTER * 1 CMACH
REAL FUNCTION SLAMCH_64(CMACH)
CHARACTER * 1 CMACH
F95 INTERFACE
REAL(4) FUNCTION SLAMCH(CMACH)
CHARACTER, INTENT(IN) :: CMACH
C INTERFACE
#include <sunperf.h>
float slamch(const char);
float slamch_64(const char);
PURPOSEslamch returns single precision machine paramters.
ARGUMENTS
CMACH (input)
On entry, CMACH specifies the value to be returned.
CMACH = 'E' or 'e', eps, relative machine precision
CMACH = 'S' or 's , safe minimum, such that 1/sfmin does not
overflow
CMACH = 'B' or 'b', base of the machine
CMACH = 'P' or 'p', eps * base
CMACH = 'N' or 'n', number of (base) digits in the mantissa
CMACH = 'R' or 'r', 1.0 when rounding occurs in addition, 0.0
otherwise
CMACH = 'M' or 'm', emin, minimum exponent before (gradual)
underflow
CMACH = 'U' or 'u', underflow threshold - base**(emin-1)
CMACH = 'L' or 'l', emax, largest exponent before overflow
CMACH = 'O' or 'o', overflow threshold -
(base**emax)*(1-eps)
Unchanged on exit.
6 Mar 2009 slamch(3P)