lamch(3)
okay so bestie, welcome to lamch(3) from the Library Functions Manual β the LAPACK page for machine parameters, and yes it's giving "tiny but important" πΈ. We're gonna walk through every flag, value, and author credit without losing a single crumb. π
πΈ NAME πΈ
lamch - lamch: machine parameters
β¨ SYNOPSIS β¨
π¦ Functions π¦
double precision function dlamch (cmach)
DLAMCH
real function slamch (cmach)
SLAMCH
π Detailed Description π
This is the detailed description section, and it's lowkey just the runway before the function docs below. The real tea is in Function Documentation, so let's go. π
π Function Documentation π
π
double precision function dlamch (character cmach) β DLAMCH π
Purpose: DLAMCH determines double precision machine parameters. Periodt. β¨
Parameters
CMACHβ it's aCHARACTER*1. Specifies the value to be returned byDLAMCH:= 'E' or 'e', DLAMCH := eps= 'S' or 's , DLAMCH := sfmin= 'B' or 'b', DLAMCH := base= 'P' or 'p', DLAMCH := eps*base= 'N' or 'n', DLAMCH := t= 'R' or 'r', DLAMCH := rnd= 'M' or 'm', DLAMCH := emin= 'U' or 'u', DLAMCH := rmin= 'L' or 'l', DLAMCH := emax= 'O' or 'o', DLAMCH := rmax
where:
eps = relative machine precisionsfmin = safe minimum, such that 1/sfmin does not overflowbase = base of the machineprec = eps*baset = number of (base) digits in the mantissarnd = 1.0 when rounding occurs in addition, 0.0 otherwiseemin = minimum exponent before (gradual) underflowrmin = underflow threshold - base**(emin-1)emax = largest exponent before overflowrmax = overflow threshold - (base**emax)*(1-eps)
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: at line 68 of file dlamch.f.
π¦ real function slamch (character cmach) β SLAMCH π¦
Purpose: SLAMCH determines single precision machine parameters. No cap. β¨
Parameters
CMACHβ it's aCHARACTER*1. Specifies the value to be returned bySLAMCH:= 'E' or 'e', SLAMCH := eps= 'S' or 's , SLAMCH := sfmin= 'B' or 'b', SLAMCH := base= 'P' or 'p', SLAMCH := eps*base= 'N' or 'n', SLAMCH := t= 'R' or 'r', SLAMCH := rnd= 'M' or 'm', SLAMCH := emin= 'U' or 'u', SLAMCH := rmin= 'L' or 'l', SLAMCH := emax= 'O' or 'o', SLAMCH := rmax
where:
eps = relative machine precisionsfmin = safe minimum, such that 1/sfmin does not overflowbase = base of the machineprec = eps*baset = number of (base) digits in the mantissarnd = 1.0 when rounding occurs in addition, 0.0 otherwiseemin = minimum exponent before (gradual) underflowrmin = underflow threshold - base**(emin-1)emax = largest exponent before overflowrmax = overflow threshold - (base**emax)*(1-eps)
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: at line 67 of file slamch.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π that's the whole page, bestie. Final sign-off: LAPACK Version 3.12.0 lamch(3) π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms