LAPACK
3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
dlaisnan.f
Go to the documentation of this file.
1
*> \brief \b DLAISNAN tests input for NaN by comparing two arguments for inequality.
2
*
3
* =========== DOCUMENTATION ===========
4
*
5
* Online html documentation available at
6
* http://www.netlib.org/lapack/explore-html/
7
*
8
*> Download DLAISNAN + dependencies
9
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaisnan.f">
10
*> [TGZ]</a>
11
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaisnan.f">
12
*> [ZIP]</a>
13
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaisnan.f">
14
*> [TXT]</a>
15
*
16
* Definition:
17
* ===========
18
*
19
* LOGICAL FUNCTION DLAISNAN( DIN1, DIN2 )
20
*
21
* .. Scalar Arguments ..
22
* DOUBLE PRECISION, INTENT(IN) :: DIN1, DIN2
23
* ..
24
*
25
*
26
*> \par Purpose:
27
* =============
28
*>
29
*> \verbatim
30
*>
31
*> This routine is not for general use. It exists solely to avoid
32
*> over-optimization in DISNAN.
33
*>
34
*> DLAISNAN checks for NaNs by comparing its two arguments for
35
*> inequality. NaN is the only floating-point value where NaN != NaN
36
*> returns .TRUE. To check for NaNs, pass the same variable as both
37
*> arguments.
38
*>
39
*> A compiler must assume that the two arguments are
40
*> not the same variable, and the test will not be optimized away.
41
*> Interprocedural or whole-program optimization may delete this
42
*> test. The ISNAN functions will be replaced by the correct
43
*> Fortran 03 intrinsic once the intrinsic is widely available.
44
*> \endverbatim
45
*
46
* Arguments:
47
* ==========
48
*
49
*> \param[in] DIN1
50
*> \verbatim
51
*> DIN1 is DOUBLE PRECISION
52
*> \endverbatim
53
*>
54
*> \param[in] DIN2
55
*> \verbatim
56
*> DIN2 is DOUBLE PRECISION
57
*> Two numbers to compare for inequality.
58
*> \endverbatim
59
*
60
* Authors:
61
* ========
62
*
63
*> \author Univ. of Tennessee
64
*> \author Univ. of California Berkeley
65
*> \author Univ. of Colorado Denver
66
*> \author NAG Ltd.
67
*
68
*> \ingroup laisnan
69
*
70
* =====================================================================
71
LOGICAL
FUNCTION
dlaisnan
( DIN1, DIN2 )
72
*
73
* -- LAPACK auxiliary routine --
74
* -- LAPACK is a software package provided by Univ. of Tennessee, --
75
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
76
*
77
* .. Scalar Arguments ..
78
DOUBLE PRECISION
,
INTENT(IN)
:: din1, din2
79
* ..
80
*
81
* =====================================================================
82
*
83
* .. Executable Statements ..
84
dlaisnan
= (din1.NE.din2)
85
RETURN
86
END
dlaisnan
logical function dlaisnan(din1, din2)
DLAISNAN tests input for NaN by comparing two arguments for inequality.
Definition
dlaisnan.f:72
SRC
dlaisnan.f
Generated on Mon Jan 20 2025 17:18:10 for LAPACK by
1.11.0