SRC/ieeeck.f(3)

πŸ’– SRC/ieeeck.f πŸ’–

okay bestie, welcome to the Library Functions Manual page for SRC/ieeeck.f β€” yes, that's the manual name folded in like a lil name tag 🫢✨

✨ NAME ✨

SRC/ieeeck.f β€” that's the name, no cap πŸ’…

🌸 SYNOPSIS 🌸

Functions/Subroutines

  • integer function ieeeck (ispec, zero, one) β€” IEEECK

🧚 Function/Subroutine Documentation 🧚

integer function ieeeck (integer ispec, real zero, real one)

IEEECK

πŸŽ€ Purpose πŸŽ€

So IEEECK gets called from the ILAENV to verify that Infinity and possibly NaN arithmetic is safe β€” i.e. will not trap. It's literally the vibe check for floating-point math 😭πŸ”₯

πŸ’… Parameters πŸ’…

  • ISPEC β€” ISPEC is INTEGER. It specifies whether to test just for infinity arithmetic or whether to test for infinity and NaN arithmetic:
    • = 0: Verify infinity arithmetic only.
    • = 1: Verify infinity and NaN arithmetic.
  • ZERO β€” ZERO is REAL. Must contain the value 0.0. This is passed to prevent the compiler from optimizing away this code. Anti-optimization icon behavior, ngl πŸŽ€
  • ONE β€” ONE is REAL. Must contain the value 1.0. This is passed to prevent the compiler from optimizing away this code. Same protective energy, different constant πŸ’…

πŸ”₯ RETURN VALUE: INTEGER πŸ”₯

  • = 0: Arithmetic failed to produce the correct answers
  • = 1: Arithmetic produced the correct answers

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 81 of file ieeeck.f.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.


okay that's the whole page, bestie 🫢 footer check: source/version is LAPACK Version 3.12.0 on page SRC/ieeeck.f(3), and the original doesn't list a date β€” no cap, we don't invent stuff here πŸ’…βœ¨

πŸ“¦ where this page comes from