diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-06-05 01:01:42 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-06-05 01:01:42 +0000 |
commit | e4d740d0c53c9b4936f363f37b0fb818512922b8 (patch) | |
tree | 50a552aaeb7a5ab34bdd0b2ed91d7b9a3e070954 /mpfr-test.h | |
parent | be1fd1f3faf5912c8baa4dca7905cad06e5c5cca (diff) | |
download | mpfr-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.h | 5 |
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 |