diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-10 12:13:25 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-10 12:13:25 +0000 |
commit | 610a8851990d905908fae318fc91dda3b21ee270 (patch) | |
tree | 69a66b428bab8b1c92dd69410874dcd7089b84ca /tests/tdiv.c | |
parent | 11b100b3ef4098c0afc5f5f82a9600077ff89ee9 (diff) | |
download | mpfr-610a8851990d905908fae318fc91dda3b21ee270.tar.gz |
HAVE_FESETROUND renamed to MPFR_HAVE_FESETROUND to avoid possible
name conflict.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1844 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tdiv.c')
-rw-r--r-- | tests/tdiv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tdiv.c b/tests/tdiv.c index 8438bbeb6..879207a07 100644 --- a/tests/tdiv.c +++ b/tests/tdiv.c @@ -47,7 +47,7 @@ check4 (double N, double D, mp_rnd_t rnd_mode, int p, double Q) mpfr_set_d(n, N, rnd_mode); mpfr_set_d(d, D, rnd_mode); mpfr_div(q, n, d, rnd_mode); -#ifdef HAVE_FESETROUND +#ifdef MPFR_HAVE_FESETROUND mpfr_set_machine_rnd_mode(rnd_mode); #endif if (Q==0.0) Q = N/D; @@ -451,7 +451,7 @@ main (int argc, char *argv[]) { mpfr_t x, y, z; -#ifdef HAVE_FESETROUND +#ifdef MPFR_HAVE_FESETROUND int N, i; double n, d, e; @@ -494,7 +494,7 @@ main (int argc, char *argv[]) check53(1.04636807108079349236e-189, 3.72295730823253012954e-292, GMP_RNDZ, 2.810583051186143125e102); -#ifdef HAVE_FESETROUND +#ifdef MPFR_HAVE_FESETROUND N = (argc>1) ? atoi(argv[1]) : 100000; SEED_RAND (time(NULL)); for (i=0;i<N;i++) |