SLAMCH(3)
π SLAMC3(3) β Library Functions Manual π
okay bestie, welcome to the SLAMC3(3) page β¨ the header path is /home/abui...LL/slamch.f(3) β yes, that's the vibe. this is LAPACK land, so buckle up π«Ά
π NAME π
the NAME section is lowkey just this file path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/INSTALL/slamch.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
real function SLAMCH (cmach)
SLAMCH
real function SLAMC3 (a, b)
SLAMC3
π¦ Function/Subroutine Documentation π¦
β real function SLAMC3 (real a, real b)
SLAMC3 Purpose:
okay so SLAMC3 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. that's the whole point, periodt π₯
Author
LAPACK is a software package provided by Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..
Parameters
Aβ the source leaves this one with just the Doxygen!>marker, no extra description πBβ!> The values A and B.and then!>(the values areAandB, bestie) π
Purpose:
same energy, second pass β¨ SLAMC3 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
Aβ the source's shared note here isThe values A and B.(wrapped in!>markers)Bβ the source's shared note here isThe values A and B.(wrapped in!>markers)
Definition at line 170 of file slamch.f.
β real function SLAMCH (character cmach)
SLAMCH SLAMCHF77 deprecated β yes bestie, deprecated, so treat it with legacy respect π
Purpose:
SLAMCH determines single precision machine parameters. π
Parameters
CMACHβ the source comment saysCMACH is CHARACTER*1, and it says:Specifies the value to be returned by SLAMCH:
= '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 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 Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Purpose:
SLAMCH determines single precision machine parameters. yes, again β the source said it twice and we're not skipping anything π«Ά
Parameters
CMACHβSpecifies the value to be returned by SLAMCH:
= '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 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 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.
xoxo, your LAPACK bestie π β LAPACK, Version 3.12.0, page path /home/abui...LL/slamch.f(3). slay and stay safe π¦
π¦ 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