lamc3(3)

πŸ’… lamc3(3) β€” Library Functions Manual

okay so bestie, buckle up, because this is lamc3(3) and honestly? it's giving "compiler optimizer said no ❀️" energy. it's a tiny little LAPACK helper whose whole personality is forcing numbers to actually live in memory before you add them. iconic behavior, no cap πŸ’–


✨ NAME ✨

lamc3 β€” lamc3: ??

yeah the description really is just ?? 😭 the docs said "we don't know her" and honestly we respect the honesty.


🌸 SYNOPSIS 🌸

πŸŽ€ Functions

  • double precision function dlamc3 (a, b) β€” DLAMC3
  • real function slamc3 (a, b) β€” SLAMC3

πŸ¦‹ Detailed Description

bestie there is literally nothing here. the section exists, it's just vibes and empty space. like a group chat at 3am 🫢


πŸ‘‘ Function Documentation πŸ‘‘

πŸ’œ double precision function dlamc3 (double precision a, double precision b)

DLAMC3 Purpose:

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.

like, the whole point is that the optimizer is being too clever β€” it wants to keep A and B cozy in a register instead of actually storing them. so this function drags them out of the register and makes them get stored first, before the addition of A and B happens. it's the "touch grass" of floating point πŸ”₯

🌈 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.

Definition at line 171 of file dlamch.f. ⭐


🧚 real function slamc3 (real a, real b)

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.

same exact energy, just single precision this time. the optimizer wants to hoard A and B in a register again and SLAMC3 is like "no ma'am, we store first, then we add" πŸ’…

πŸ’– Author

LAPACK is a software package provided by Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..

✨ Parameters

  • A
  • B
The values A and B.

(not me noticing A gets no description here β€” the docs really just left her on read πŸ™ˆ)

Definition at line 170 of file slamch.f. ⭐


🌸 Author 🌸

Generated automatically by Doxygen for LAPACK from the source code.


okay that's the whole page, you ate that 🫢

sign-off time bestie: this icon of a manual page is brought to you by LAPACK, Version 3.12.0 πŸ’– (the footer energy is very "no date given, just vibes"). now go forth and force your variables to be stored, periodt. ✨

πŸ“¦ where this page comes from