1 *> \brief \b DLAISNAN tests input for NaN by comparing two arguments for inequality.
3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
9 *> Download DLAISNAN + dependencies
10 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaisnan.f">
12 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaisnan.f">
14 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaisnan.f">
21 * LOGICAL FUNCTION DLAISNAN( DIN1, DIN2 )
23 * .. Scalar Arguments ..
24 * DOUBLE PRECISION DIN1, DIN2
33 *> This routine is not for general use. It exists solely to avoid
34 *> over-optimization in DISNAN.
36 *> DLAISNAN checks for NaNs by comparing its two arguments for
37 *> inequality. NaN is the only floating-point value where NaN != NaN
38 *> returns .TRUE. To check for NaNs, pass the same variable as both
41 *> A compiler must assume that the two arguments are
42 *> not the same variable, and the test will not be optimized away.
43 *> Interprocedural or whole-program optimization may delete this
44 *> test. The ISNAN functions will be replaced by the correct
45 *> Fortran 03 intrinsic once the intrinsic is widely available.
53 *> DIN1 is DOUBLE PRECISION
58 *> DIN2 is DOUBLE PRECISION
59 *> Two numbers to compare for inequality.
65 *> \author Univ. of Tennessee
66 *> \author Univ. of California Berkeley
67 *> \author Univ. of Colorado Denver
70 *> \date September 2012
72 *> \ingroup OTHERauxiliary
74 * =====================================================================
75 LOGICAL FUNCTION DLAISNAN( DIN1, DIN2 )
77 * -- LAPACK auxiliary routine (version 3.4.2) --
78 * -- LAPACK is a software package provided by Univ. of Tennessee, --
79 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
82 * .. Scalar Arguments ..
83 DOUBLE PRECISION DIN1, DIN2
86 * =====================================================================
88 * .. Executable Statements ..
89 DLAISNAN = (DIN1.NE.DIN2)