summaryrefslogtreecommitdiff
path: root/tests/tset_d.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-09-20 14:45:32 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-09-20 14:45:32 +0000
commitd10329556c3b664495584896df408970b3869a59 (patch)
tree96f0814c3af7c2099128065b2f94acca4219f6bb /tests/tset_d.c
parentd6b32be3cf7fcc0c3ee0adffb41f77b787f44552 (diff)
downloadmpfr-d10329556c3b664495584896df408970b3869a59.tar.gz
Add ICC detection && support.
Remove some potential warnings in the test files. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2977 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_d.c')
-rw-r--r--tests/tset_d.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tset_d.c b/tests/tset_d.c
index 0ba0b9ba9..0f096e30a 100644
--- a/tests/tset_d.c
+++ b/tests/tset_d.c
@@ -46,6 +46,7 @@ main (int argc, char *argv[])
mpfr_set_nan (x);
d = mpfr_get_d (x, GMP_RNDN);
+ MPFR_ASSERTN (DOUBLE_ISNAN (d));
mpfr_set_ui (x, 0, GMP_RNDN);
mpfr_set_d (x, d, GMP_RNDN);
MPFR_ASSERTN(mpfr_nan_p (x));
@@ -166,3 +167,7 @@ main (int argc, char *argv[])
tests_end_mpfr ();
return 0;
}
+
+
+
+