1SLAISNAN(1) LAPACK auxiliary routine (version 3.2) SLAISNAN(1)
2
3
4
6 SLAISNAN - routine i not for general use
7
9 LOGICAL FUNCTION SLAISNAN(SIN1,SIN2)
10
11 REAL SIN1,SIN2
12
14 This routine is not for general use. It exists solely to avoid over-
15 optimization in SISNAN.
16 SLAISNAN checks for NaNs by comparing its two arguments for inequality.
17 NaN is the only floating-point value where NaN != NaN returns .TRUE.
18 To check for NaNs, pass the same variable as both arguments.
19 A compiler must assume that the two arguments are
20 not the same variable, and the test will not be optimized away. Inter‐
21 procedural or whole-program optimization may delete this test. The
22 ISNAN functions will be replaced by the correct Fortran 03 intrinsic
23 once the intrinsic is widely available.
24
26 SIN1 (input) REAL
27 SIN2 (input) REAL Two numbers to compare for inequality.
28
29
30
31 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 SLAISNAN(1)