summaryrefslogtreecommitdiff
path: root/tests/tatan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tatan.c')
-rw-r--r--tests/tatan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tatan.c b/tests/tatan.c
index 8883588..ca93ec4 100644
--- a/tests/tatan.c
+++ b/tests/tatan.c
@@ -30,10 +30,10 @@ test_underflow (void)
mpfr_set_emin (-10);
mpc_init2 (z, 21);
- mpfr_set_si (mpc_realref(z), -1, GMP_RNDZ);
- mpfr_set_ui_2exp (mpc_imagref(z), 1, 20, GMP_RNDZ);
- mpfr_add_ui (mpc_imagref(z), mpc_imagref(z), 1, GMP_RNDZ);
- mpfr_div_2exp (mpc_imagref(z), mpc_imagref(z), 20, GMP_RNDZ);
+ mpfr_set_si (mpc_realref(z), -1, MPFR_RNDZ);
+ mpfr_set_ui_2exp (mpc_imagref(z), 1, 20, MPFR_RNDZ);
+ mpfr_add_ui (mpc_imagref(z), mpc_imagref(z), 1, MPFR_RNDZ);
+ mpfr_div_2exp (mpc_imagref(z), mpc_imagref(z), 20, MPFR_RNDZ);
mpc_atan (z, z, MPC_RNDNN);
if (mpfr_cmp_si_2exp (mpc_realref(z), -1066635, 20) != 0 ||
mpfr_cmp_si_2exp (mpc_imagref(z), 1687619, 22))