INSTALL/test_zminMax.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’– 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, and zminMax tests the robustness and precision of the double-valued intrinsic operators MIN and MAX. 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