INSTALL/slamch.f(3)
π INSTALL/slamch.f(3) π
okay bestie, welcome to the Library Functions Manual page for INSTALL/slamch.f β title and manual name folded in near the top like a little header hug. This is the LAPACK single-precision machine-parameters zone, and we are keeping every detail intact. Periodt.
π NAME π
INSTALL/slamch.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
real function slamch (cmach)βSLAMCHreal function slamc3 (a, b)βSLAMC3
π¦ Function/Subroutine Documentation π¦
π real function slamc3 (real a, real b) π
SLAMC3 β okay so this one is here to force A and B to be stored before doing the addition of A and B, for use in situations where optimizers might hold one of these in a register. Very βdonβt get cute with my registersβ energy, honestly.
β¨ SLAMC3 Purpose β¨
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.
π 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 original parameter block gives just!>here, no other description. Minimalist icon behavior.Bβ!> The values A and B. !>
Definition at line 170 of file slamch.f.
π real function slamch (character cmach) π
SLAMCH β main character function, obviously.
β¨ SLAMCH Purpose β¨
SLAMCH determines single precision machine parameters.
πΈ Parameters πΈ
CMACHβCMACH is CHARACTER*1. It specifies the value to be returned bySLAMCH, bestie:
= '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.
okay thatβs the whole page, bestie π source/version: LAPACK Version 3.12.0. The original footer doesnβt print a date, so Iβm not making one up β cute sign-off complete πβ¨
π¦ 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