diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-09 10:50:01 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-04-09 10:50:01 +0000 |
commit | dcdcf769be0708bfa7049eb4f231857106d2760b (patch) | |
tree | 847eb063355c76ff4db4847f7572a136cb0a1cdb /tests/tsqrt.c | |
parent | 28e9168b4e43066af45ddc3a11ad2f955214a61a (diff) | |
download | mpfr-dcdcf769be0708bfa7049eb4f231857106d2760b.tar.gz |
Check for fenv.h -> check for fesetround.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1833 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt.c')
-rw-r--r-- | tests/tsqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsqrt.c b/tests/tsqrt.c index bf6f1f5e5..5cd5e4ffa 100644 --- a/tests/tsqrt.c +++ b/tests/tsqrt.c @@ -49,7 +49,7 @@ check3 (double a, mp_rnd_t rnd_mode, double Q) ck = (Q!=-1.0); /* if ck=1, then Q is certified correct */ mpfr_init2(q, 53); mpfr_set_d(q, a, rnd_mode); -#ifdef HAVE_FENV_H +#ifdef HAVE_FESETROUND mpfr_set_machine_rnd_mode(rnd_mode); #endif mpfr_sqrt(q, q, rnd_mode); @@ -326,7 +326,7 @@ main (void) double a; mp_prec_t p; int k; -#ifdef HAVE_FENV_H +#ifdef HAVE_FESETROUND int i; mpfr_test_init (); |