3 ?RCS: Copyright (c) 2000 Jarkko Hietaniemi
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
8 ?MAKE:d_isnan: Inlibc cat i_math Compile rm_try Setvar
11 ?S: This variable conditionally defines the HAS_ISNAN symbol, which
12 ?S: indicates to the C program that the isnan() routine is available.
15 ?C: This symbol, if defined, indicates that the isnan routine is
16 ?C: available to check whether a double is a NaN.
18 ?H:#$d_isnan HAS_ISNAN /**/
22 echo "Checking to see if you have isnan..." >&4
28 int main() { return isnan(0.0); }
31 if eval $compile; then
33 echo "You have isnan."
36 echo "You do not have isnan."