diff options
Diffstat (limited to 'tests/tui_sub.c')
-rw-r--r-- | tests/tui_sub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tui_sub.c b/tests/tui_sub.c index 6a3a0c6dc..55e037fb2 100644 --- a/tests/tui_sub.c +++ b/tests/tui_sub.c @@ -140,7 +140,7 @@ check (unsigned long y, double x, mp_rnd_t rnd_mode, double z1) mpfr_init2(zz, 53); mpfr_set_d(xx, x, rnd_mode); mpfr_ui_sub(zz, y, xx, rnd_mode); -#ifdef HAVE_FENV +#ifdef HAVE_FENV_H mpfr_set_machine_rnd_mode(rnd_mode); #endif if (z1==0.0) z1 = y-x; @@ -204,7 +204,7 @@ main (int argc, char *argv[]) { mp_prec_t p; unsigned k; -#ifdef HAVE_FENV +#ifdef HAVE_FENV_H double x; unsigned long y, N; int i, rnd_mode, rnd; |