summaryrefslogtreecommitdiff
path: root/tests/tmul_d.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-12-29 21:46:50 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-12-29 21:46:50 +0000
commit9092ef399a9cf926b1174667e9b0464b5113fcc4 (patch)
tree0acfda563328ef47cb9cf48c0cdedf244af6ffd2 /tests/tmul_d.c
parenta4112d5b601c8c7bfb0e3a0953ec716449209d4b (diff)
downloadmpfr-9092ef399a9cf926b1174667e9b0464b5113fcc4.tar.gz
Added #if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0) conditionals to be
able to test MPFR 2.3.* with the (more complete) tests from the trunk. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5144 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tmul_d.c')
-rw-r--r--tests/tmul_d.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tmul_d.c b/tests/tmul_d.c
index ff32c3407..06c8bc2ec 100644
--- a/tests/tmul_d.c
+++ b/tests/tmul_d.c
@@ -26,6 +26,8 @@ MA 02110-1301, USA. */
#include "mpfr-test.h"
+#if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0)
+
static void
check_nans (void)
{
@@ -108,3 +110,14 @@ main (int argc, char *argv[])
tests_end_mpfr ();
return 0;
}
+
+#else
+
+int
+main (void)
+{
+ printf ("Warning! Test disabled for this MPFR version.\n");
+ return 0;
+}
+
+#endif