summaryrefslogtreecommitdiff
path: root/tests/tatan.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-09-19 11:17:49 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-09-19 11:17:49 +0000
commitf4f7fe967cee583595999be3267f3c253064fa3e (patch)
tree5d9efd557b23ca31a5921219c05f41b00f9c7932 /tests/tatan.c
parente544b22eb979c53b5bea256ab8ff0c29f5756ffe (diff)
downloadmpc-f4f7fe967cee583595999be3267f3c253064fa3e.tar.gz
merge trunk into branch rootsunityrootsunity
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/rootsunity@1273 211d60ee-9f03-0410-a15a-8952a2c7a4e4
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))