summaryrefslogtreecommitdiff
path: root/tests/tpow.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.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.c')
-rw-r--r--tests/tpow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tpow.c b/tests/tpow.c
index 3592209..31ac1ca 100644
--- a/tests/tpow.c
+++ b/tests/tpow.c
@@ -1,6 +1,6 @@
/* tpow -- test file for mpc_pow.
-Copyright (C) 2009, 2011 INRIA
+Copyright (C) 2009, 2011, 2012 INRIA
This file is part of GNU MPC.
@@ -34,8 +34,8 @@ reuse_bug (void)
mpc_init2 (y, prec);
mpc_init2 (z, prec);
- mpfr_set_ui (mpc_realref (x), 0ul, GMP_RNDN);
- mpfr_set_ui_2exp (mpc_imagref (x), 3ul, -2, GMP_RNDN);
+ mpfr_set_ui (mpc_realref (x), 0ul, MPFR_RNDN);
+ mpfr_set_ui_2exp (mpc_imagref (x), 3ul, -2, MPFR_RNDN);
mpc_set_ui (y, 8ul, MPC_RNDNN);
mpc_pow (z, x, y, MPC_RNDNN);