summaryrefslogtreecommitdiff
path: root/mpfr-test.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-06-05 01:01:42 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-06-05 01:01:42 +0000
commite4d740d0c53c9b4936f363f37b0fb818512922b8 (patch)
tree50a552aaeb7a5ab34bdd0b2ed91d7b9a3e070954 /mpfr-test.h
parentbe1fd1f3faf5912c8baa4dca7905cad06e5c5cca (diff)
downloadmpfr-e4d740d0c53c9b4936f363f37b0fb818512922b8.tar.gz
Check for isnan.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1939 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr-test.h')
-rw-r--r--mpfr-test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mpfr-test.h b/mpfr-test.h
index 57245322f..9b9a887e6 100644
--- a/mpfr-test.h
+++ b/mpfr-test.h
@@ -97,3 +97,8 @@ double drand _PROTO ((void));
int ulp _PROTO ((double, double));
double dbl _PROTO ((double, int));
double Ulp _PROTO ((double));
+
+#if !defined(HAVE_ISNAN) && !defined(isnan)
+int Isnan _PROTO ((double));
+#define isnan(d) Isnan(d)
+#endif