INSTALL/slamch.f(3)

πŸ“¦
version 3.12.1 Β· 4 versions
, in arch rolling

πŸ’… 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) β€” SLAMCH
  • real 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 by SLAMCH, 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