dlaisnan.f.html
来自「famous linear algebra library (LAPACK) p」· HTML 代码 · 共 64 行
HTML
64 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>dlaisnan.f</title>
<meta name="generator" content="emacs 21.3.1; htmlfontify 0.20">
<style type="text/css"><!--
body { background: rgb(255, 255, 255); color: rgb(0, 0, 0); font-style: normal; font-weight: 500; font-stretch: normal; font-family: adobe-courier; font-size: 11pt; text-decoration: none; }
span.default { background: rgb(255, 255, 255); color: rgb(0, 0, 0); font-style: normal; font-weight: 500; font-stretch: normal; font-family: adobe-courier; font-size: 11pt; text-decoration: none; }
span.default a { background: rgb(255, 255, 255); color: rgb(0, 0, 0); font-style: normal; font-weight: 500; font-stretch: normal; font-family: adobe-courier; font-size: 11pt; text-decoration: underline; }
span.comment { color: rgb(178, 34, 34); background: rgb(255, 255, 255); font-style: normal; font-weight: 500; font-stretch: normal; font-family: adobe-courier; font-size: 11pt; text-decoration: none; }
span.comment a { color: rgb(178, 34, 34); background: rgb(255, 255, 255); font-style: normal; font-weight: 500; font-stretch: normal; font-family: adobe-courier; font-size: 11pt; text-decoration: underline; }
--></style>
</head>
<body>
<pre>
LOGICAL FUNCTION <a name="DLAISNAN.1"></a><a href="dlaisnan.f.html#DLAISNAN.1">DLAISNAN</a>(DIN1,DIN2)
<span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> -- LAPACK auxiliary routine (version 3.1) --
</span><span class="comment">*</span><span class="comment"> Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
</span><span class="comment">*</span><span class="comment"> November 2006
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> .. Scalar Arguments ..
</span> DOUBLE PRECISION DIN1,DIN2
<span class="comment">*</span><span class="comment"> ..
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> Purpose
</span><span class="comment">*</span><span class="comment"> =======
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> This routine is not for general use. It exists solely to avoid
</span><span class="comment">*</span><span class="comment"> over-optimization in <a name="DISNAN.15"></a><a href="disnan.f.html#DISNAN.1">DISNAN</a>.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> <a name="DLAISNAN.17"></a><a href="dlaisnan.f.html#DLAISNAN.1">DLAISNAN</a> checks for NaNs by comparing its two arguments for
</span><span class="comment">*</span><span class="comment"> inequality. NaN is the only floating-point value where NaN != NaN
</span><span class="comment">*</span><span class="comment"> returns .TRUE. To check for NaNs, pass the same variable as both
</span><span class="comment">*</span><span class="comment"> arguments.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> Strictly speaking, Fortran does not allow aliasing of function
</span><span class="comment">*</span><span class="comment"> arguments. So a compiler must assume that the two arguments are
</span><span class="comment">*</span><span class="comment"> not the same variable, and the test will not be optimized away.
</span><span class="comment">*</span><span class="comment"> Interprocedural or whole-program optimization may delete this
</span><span class="comment">*</span><span class="comment"> test. The ISNAN functions will be replaced by the correct
</span><span class="comment">*</span><span class="comment"> Fortran 03 intrinsic once the intrinsic is widely available.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> Arguments
</span><span class="comment">*</span><span class="comment"> =========
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> DIN1 (input) DOUBLE PRECISION
</span><span class="comment">*</span><span class="comment"> DIN2 (input) DOUBLE PRECISION
</span><span class="comment">*</span><span class="comment"> Two numbers to compare for inequality.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> =====================================================================
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> .. Executable Statements ..
</span> <a name="DLAISNAN.39"></a><a href="dlaisnan.f.html#DLAISNAN.1">DLAISNAN</a> = (DIN1.NE.DIN2)
RETURN
END
</pre>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?