INSTALL/test_zminMax.f(3)
π NAME π
Bestie, welcome to the manual page for INSTALL/test_zminMax.f β it's part of the Library Functions Manual, and it's basically a tiny Fortran test with main-character energy for edge cases. β¨
πΈ SYNOPSIS πΈ
Functions/Subroutines
program zmulβ this is the program, andzminMaxtests the robustness and precision of the double-valued intrinsic operatorsMINandMAX. No cap, it's checking that these operators don't fold under pressure. π
π¦ Function/Subroutine Documentation π¦
program zmul
zminMax tests the robustness and precision of the double-valued intrinsic operators MIN and MAX. That's the whole assignment: throw spicy inputs at MIN and MAX and make sure they behave. π₯
Author
Weslley S. Pereira, University of Colorado Denver, U.S. π«Ά
Here's the test matrix, copied exactly because these pairs are the moment:
!>
!> Tests with pairs of numbers (x,y):
!> Inf inputs where x < y:
!> (1) (-Inf, 0)
!> (2) ( 0 , Inf)
!> (3) (-Inf, Inf)
!> Inf inputs where x > y:
!> (4) ( 0 ,-Inf)
!> (5) ( Inf, 0)
!> (6) ( Inf,-Inf)
!> NaN inputs to test NaN propagation:
!> (7) ( 0 , NaN)
!> (8) ( NaN, 0)
!> The program tests MIN(x,y) and MAX(x,y) for every pair
!>
!>
So yeah: eight pairs total, split into infinity drama and NaN-propagation drama. It runs MIN(x,y) and MAX(x,y) on every single pair β no skipping, no shortcuts, fr fr. π
Where does it live? Definition at line 34 of file test_zminMax.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
Sign-off, bestie: source/version is LAPACK Version 3.12.0, the page is INSTALL/test_zminMax.f(3), and the footer didn't list a date β so we're not making one up. ππ
π¦ 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