INSTALL/te...mplexabs.f(3)
πΈ NAME
Library Functions Manual energy, but make it cute: this page is INSTALL/test_zcomplexabs.f, bestie. That's the whole NAME section, no cap.
β¨ SYNOPSIS
Functions/Subroutines
program zabsβzabstests the robustness and precision of the intrinsicABSfor double complex. It's giving "precision girlie pop quiz" for double complex, fr fr. π
π Function/Subroutine Documentation
π program zabs
zabs tests the robustness and precision of the intrinsic ABS for double complex. Iconic. Obsessed. β¨
π Author
Weslley S. Pereira, University of Colorado Denver, U.S.
Here's the literal source comment block, preserved exactly because details are sacred:
!>
!> Real values for test:
!> (1) x = 2**m, where m = MINEXPONENT-DIGITS, ..., MINEXPONENT-1. Stop on the first success.
!> Mind that not all platforms might implement subnormal numbers.
!> (2) x = 2**m, where m = MINEXPONENT, ..., 0. Stop on the first success.
!> (3) x = OV, where OV is the overflow threshold. OV^2 overflows but the norm is OV.
!> (4) x = 2**m, where m = MAXEXPONENT-1, ..., 1. Stop on the first success.
!>
!> Tests:
!> (a) y = x + 0 * I, |y| = x
!> (b) y = 0 + x * I, |y| = x
!> (c) y = (3/4)*x + x * I, |y| = (5/4)*x whenever (3/4)*x and (5/4)*x can be exactly stored
!> (d) y = (1/2)*x + (1/2)*x * I, |y| = (1/2)*x*sqrt(2) whenever (1/2)*x can be exactly stored
!>
!> Special cases:
!>
!> (i) Inf propagation
!> (1) y = Inf + 0 * I, |y| is Inf.
!> (2) y =-Inf + 0 * I, |y| is Inf.
!> (3) y = 0 + Inf * I, |y| is Inf.
!> (4) y = 0 - Inf * I, |y| is Inf.
!> (5) y = Inf + Inf * I, |y| is Inf.
!>
!> (n) NaN propagation
!> (1) y = NaN + 0 * I, |y| is NaN.
!> (2) y = 0 + NaN * I, |y| is NaN.
!> (3) y = NaN + NaN * I, |y| is NaN.
!>
!>
Definition at line 44 of file test_zcomplexabs.f. π
π§ Author
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the page, bestie π the footer says LAPACK Version 3.12.0 and the page name is INSTALL/te...mplexabs.f(3) β no date is shown in the footer, so I'm not inventing one. Periodt. π«Ά
π¦ 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