00001 /* disnan.f -- translated by f2c (version 20061008). 00002 You must link the resulting object file with libf2c: 00003 on Microsoft Windows system, link with libf2c.lib; 00004 on Linux or Unix systems, link with .../path/to/libf2c.a -lm 00005 or, if you install libf2c.a in a standard place, with -lf2c -lm 00006 -- in that order, at the end of the command line, as in 00007 cc *.o -lf2c -lm 00008 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., 00009 00010 http://www.netlib.org/f2c/libf2c.zip 00011 */ 00012 00013 #include "f2c.h" 00014 #include "blaswrap.h" 00015 00016 logical disnan_(doublereal *din) 00017 { 00018 /* System generated locals */ 00019 logical ret_val; 00020 00021 /* Local variables */ 00022 extern logical dlaisnan_(doublereal *, doublereal *); 00023 00024 00025 /* -- LAPACK auxiliary routine (version 3.2) -- */ 00026 /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */ 00027 /* November 2006 */ 00028 00029 /* .. Scalar Arguments .. */ 00030 /* .. */ 00031 00032 /* Purpose */ 00033 /* ======= */ 00034 00035 /* DISNAN returns .TRUE. if its argument is NaN, and .FALSE. */ 00036 /* otherwise. To be replaced by the Fortran 2003 intrinsic in the */ 00037 /* future. */ 00038 00039 /* Arguments */ 00040 /* ========= */ 00041 00042 /* DIN (input) DOUBLE PRECISION */ 00043 /* Input to test for NaN. */ 00044 00045 /* ===================================================================== */ 00046 00047 /* .. External Functions .. */ 00048 /* .. */ 00049 /* .. Executable Statements .. */ 00050 ret_val = dlaisnan_(din, din); 00051 return ret_val; 00052 } /* disnan_ */