DLAMCH(3)
π DLAMC3(3) β Library Functions Manual π
okay so bestie, this is the DLAMC3(3) page from the Library Functions Manual β LAPACK dlamch.f energy, no cap. It's lowkey a tiny page but it's got layers. Let's go. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/INSTALL/dlamch.f
that's the path, literally. π«Ά
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
double precision function DLAMCH (cmach)β theDLAMCHonedouble precision function DLAMC3 (a, b)β theDLAMC3one
both double precision functions, both listed here in this exact order. π
π Function/Subroutine Documentation π
π double precision function DLAMC3 (double precision a, double precision b) π
π« DLAMC3 Purpose: π«
the source says, literally:
!> DLAMC3 is intended to force A and B to be stored prior to doing
!> the addition of A and B , for use in situations where optimizers
!> might hold one of these in a register.
!>
translation: it forces A and B to be stored before it does A + B, so optimizers can't stash one of them in a register. iconic behavior. π
π Author π
LAPACK is a software package provided by Univ. of Tennessee, Univ.
of California Berkeley, Univ. of Colorado Denver and NAG Ltd..
π Parameters π
A:
!> A is a DOUBLE PRECISION
!>
B:
!> B is a DOUBLE PRECISION
!> The values A and B.
!>
π« Purpose: π«
yes, the source repeats the purpose block, so here it is again, exact:
!> DLAMC3 is intended to force A and B to be stored prior to doing
!> the addition of A and B , for use in situations where optimizers
!> might hold one of these in a register.
!>
π Parameters π
AB
!> The values A and B.
!>
Definition at line 171 of file dlamch.f.
π double precision function DLAMCH (character cmach) π
DLAMCH DLAMCHF77 deprecated
π¨ deprecated alert, bestie: the source literally labels this one DLAMCH DLAMCHF77 deprecated. not a drill.
π« Purpose: π«
!>
!> DLAMCH determines double precision machine parameters.
!>
π Parameters π
CMACH:
!> CMACH is CHARACTER*1
!> Specifies the value to be returned by DLAMCH:
!> = '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 precision
!> sfmin = safe minimum, such that 1/sfmin does not overflow
!> base = base of the machine
!> prec = eps*base
!> 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 - (base**emax)*(1-eps)
!>
π Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
π« Purpose: π«
again, exact:
!>
!> DLAMCHF77 determines double precision machine parameters.
!>
π Parameters π
CMACH:
!> CMACH is CHARACTER*1
!> Specifies the value to be returned by DLAMCH:
!> = '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 precision
!> sfmin = safe minimum, such that 1/sfmin does not overflow
!> base = base of the machine
!> prec = eps*base
!> 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 - (base**emax)*(1-eps)
!>
π Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
Definition at line 68 of file dlamch.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
π cute sign-off: this page is from LAPACK Version 3.12.0, source path /home/abui...LL/dlamch.f(3). no date in the footer, so I'm not inventing one β periodt. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms