INSTALL/te...mplexdiv.f(3)
β¨ NAME β¨
okay so this page is from the INSTALL/te...mplexdiv.f(3) manual β LAPACK's Library Functions Manual, to be exact β and the star of the show is INSTALL/test_zcomplexdiv.f. bestie, we're looking at the zdiv test program and it is lowkey iconic π
.
π SYNOPSIS π
πΈ Functions/Subroutines πΈ
program zdivβzdivtests the robustness and precision of the double complex division. yes, she's testing math drama on purpose π₯.
π¦ Function/Subroutine Documentation π¦
π program zdiv π
zdiv tests the robustness and precision of the double complex division. it's giving "trust me bestie, I need to know if this division situation is robust and precise" energy πβ¨.
π Author π
Weslley S. Pereira, University of Colorado Denver, U.S.
here's the whole test tea, preserved exactly because we do not gatekeep the details π«Ά:
!>
!> Real values for test:
!> (1) x = 2**m, where m = MINEXPONENT-DIGITS, ..., MINEXPONENT-1.
!> Mind that not all platforms might implement subnormal numbers.
!> (2) x = 2**m, where m = MINEXPONENT, ..., 0.
!> (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.
!>
!> Tests:
!> (a) y = x + 0 * I, y/y = 1
!> (b) y = 0 + x * I, y/y = 1
!> (c) y = x + x * I, y/y = 1
!> (d) y1 = 0 + x * I, y2 = x + 0 * I, y1/y2 = I
!> (e) y1 = 0 + x * I, y2 = x + 0 * I, y2/y1 = -I
!> (f) y = x + x * I, y/conj(y) = I
!>
!> Special cases:
!>
!> (i) Inf inputs:
!> (1) y = ( Inf + 0 * I)
!> (2) y = ( 0 + Inf * I)
!> (3) y = (-Inf + 0 * I)
!> (4) y = ( 0 - Inf * I)
!> (5) y = ( Inf + Inf * I)
!> Tests:
!> (a) 0 / y is either 0 or NaN.
!> (b) 1 / y is either 0 or NaN.
!> (c) y / y is NaN.
!>
!> (n) NaN inputs:
!> (1) y = (NaN + 0 * I)
!> (2) y = (0 + NaN * I)
!> (3) y = (NaN + NaN * I)
!> Tests:
!> (a) 0 / y is NaN.
!> (b) 1 / y is NaN.
!> (c) y / y is NaN.
!>
!>
Definition at line57of filetest_zcomplexdiv.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β from LAPACK Version 3.12.0, on the INSTALL/te...mplexdiv.f(3) page. that's the footer tea, bestie π«Άβ¨
π¦ 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