SLAISNAN(3)
π NAME
okay so bestie, the file you're looking at is literally this one right here:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slaisnan.f
(and yeah, up top in the header it shows as /home/abui.../slaisnan.f(3) from the Library Functions Manual β the path got truncated, she's shy π«Ά)
β¨ SYNOPSIS
Functions/Subroutines
logical function SLAISNAN (sin1, sin2)β SLAISNAN tests input for NaN by comparing two arguments for inequality. no cap, that's the whole gig π«
π Function/Subroutine Documentation
logical function SLAISNAN (real, intent(in) sin1, real, intent(in) sin2)
SLAISNAN tests input for NaN by comparing two arguments for inequality. π¦
Purpose:
!>
!> This routine is not for general use. It exists solely to avoid
!> over-optimization in SISNAN.
!>
!> SLAISNAN checks for NaNs by comparing its two arguments for
!> inequality. NaN is the only floating-point value where NaN != NaN
!> returns .TRUE. To check for NaNs, pass the same variable as both
!> arguments.
!>
!> A compiler must assume that the two arguments are
!> not the same variable, and the test will not be optimized away.
!> Interprocedural or whole-program optimization may delete this
!> test. The ISNAN functions will be replaced by the correct
!> Fortran 03 intrinsic once the intrinsic is widely available.
!>
translating the vibe for you, bestie π β this routine is not for general use, she exists solely to avoid over-optimization in SISNAN. SLAISNAN checks for NaNs by comparing its two arguments for inequality. NaN is the only floating-point value where NaN != NaN returns .TRUE. (iconic behaviour honestly π). To check for NaNs, pass the same variable as both arguments.
β οΈ and this part is important, don't skip it: a compiler must assume that the two arguments are not the same variable, and the test will not be optimized away. But! Interprocedural or whole-program optimization may delete this test. The ISNAN functions will be replaced by the correct Fortran 03 intrinsic once the intrinsic is widely available. so like, this whole thing is a temporary slay until the real one shows up π
Parameters
SIN1
!> SIN1 is REAL
!>
SIN2
!> SIN2 is REAL
!> Two numbers to compare for inequality.
!>
so SIN1 is REAL, SIN2 is REAL, and those are the two numbers to compare for inequality πΈ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 73 of file slaisnan.f. π
π Author
Generated automatically by Doxygen for LAPACK from the source code. (not me, not you β Doxygen did that π )
β¨ and that's the whole page, bestie β¨ β this was LAPACK, Version 3.12.0, and the header/footer stamp reads /home/abui.../slaisnan.f(3). go off, you understood it fr fr ππ¦π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms