summaryrefslogtreecommitdiff
path: root/mpfr/tests/tdiv_ui.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-04-11 01:36:12 +0200
committerKevin Ryde <user42@zip.com.au>2002-04-11 01:36:12 +0200
commit9feddf0604d23354ab9fdba8a69228862ab45b92 (patch)
tree122781ed5fee281d29f453dcda359a1b8a1cf672 /mpfr/tests/tdiv_ui.c
parent9d6d0e0e4c10054db1b30b80df20ed43f0f9f6e9 (diff)
downloadgmp-9feddf0604d23354ab9fdba8a69228862ab45b92.tar.gz
* mpfr/*, configure.in: Update to new mpfr 2.0.1.
Diffstat (limited to 'mpfr/tests/tdiv_ui.c')
-rw-r--r--mpfr/tests/tdiv_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpfr/tests/tdiv_ui.c b/mpfr/tests/tdiv_ui.c
index addc350ab..3b6076f3d 100644
--- a/mpfr/tests/tdiv_ui.c
+++ b/mpfr/tests/tdiv_ui.c
@@ -37,7 +37,7 @@ check (double d, unsigned long u, mp_rnd_t rnd, double e)
double f;
mpfr_init2(x, 53); mpfr_init2(y, 53);
-#ifdef HAVE_FENV_H
+#ifdef HAVE_FESETROUND
mpfr_set_machine_rnd_mode(rnd);
#endif
if (e==0.0) e = d / u;
@@ -174,7 +174,7 @@ int
main (int argc, char **argv)
{
mpfr_t x;
-#ifdef HAVE_FENV_H
+#ifdef HAVE_FESETROUND
int i;
unsigned long u;
double d;