summaryrefslogtreecommitdiff
path: root/tests/tpow_fr.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/tpow_fr.c
parente544b22eb979c53b5bea256ab8ff0c29f5756ffe (diff)
downloadmpc-rootsunity.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/tpow_fr.c')
-rw-r--r--tests/tpow_fr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tpow_fr.c b/tests/tpow_fr.c
index 2b0dc29..99274af 100644
--- a/tests/tpow_fr.c
+++ b/tests/tpow_fr.c
@@ -1,6 +1,6 @@
/* tpow_fr -- test file for mpc_pow_fr.
-Copyright (C) 2009, 2011 INRIA
+Copyright (C) 2009, 2011, 2012 INRIA
This file is part of GNU MPC.
@@ -30,9 +30,9 @@ test_reuse (void)
mpfr_init2 (y, 2);
mpc_init2 (z, 2);
mpc_set_si_si (z, 0, -1, MPC_RNDNN);
- mpfr_neg (mpc_realref (z), mpc_realref (z), GMP_RNDN);
- mpc_div_2exp (z, z, 4, MPC_RNDNN);
- mpfr_set_ui (y, 512, GMP_RNDN);
+ mpfr_neg (mpc_realref (z), mpc_realref (z), MPFR_RNDN);
+ mpc_div_2ui (z, z, 4, MPC_RNDNN);
+ mpfr_set_ui (y, 512, MPFR_RNDN);
inex = mpc_pow_fr (z, z, y, MPC_RNDNN);
if (MPC_INEX_RE(inex) != 0 || MPC_INEX_IM(inex) != 0 ||
mpfr_cmp_ui_2exp (mpc_realref(z), 1, -2048) != 0 ||