ESMF_DLAMCH Function

function ESMF_DLAMCH(CMACH)

\brief \b ESMF_DLAMCH \par Purpose:

\verbatim

ESMF_DLAMCH determines double precision machine parameters. \endverbatim \param[in] CMACH \verbatim Specifies the value to be returned by ESMF_DLAMCH: = ‘E’ or ‘e’, ESMF_DLAMCH := eps = ‘S’ or ‘s , ESMF_DLAMCH := sfmin = ‘B’ or ‘b’, ESMF_DLAMCH := base = ‘P’ or ‘p’, ESMF_DLAMCH := epsbase = ‘N’ or ‘n’, ESMF_DLAMCH := t = ‘R’ or ‘r’, ESMF_DLAMCH := rnd = ‘M’ or ‘m’, ESMF_DLAMCH := emin = ‘U’ or ‘u’, ESMF_DLAMCH := rmin = ‘L’ or ‘l’, ESMF_DLAMCH := emax = ‘O’ or ‘o’, ESMF_DLAMCH := rmax where eps = relative machine precision sfmin = safe minimum, such that 1/sfmin does not overflow base = base of the machine prec = epsbase 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 - (baseemax)*(1-eps) \endverbatim \author Univ. of Tennessee \author Univ. of California Berkeley \author Univ. of Colorado Denver \author NAG Ltd. \date November 2011 \ingroup auxOTHERauxiliary

Arguments

Type IntentOptional Attributes Name
character(len=1) :: CMACH

Return Value doubleprecision