summaryrefslogtreecommitdiff
path: root/tests/tadd_ui.c
diff options
context:
space:
mode:
authorAndreas Enge <andreas.enge@inria.fr>2012-09-19 11:17:49 +0000
committerAndreas Enge <andreas.enge@inria.fr>2012-09-19 11:17:49 +0000
commit9d1fd17d4081b2a0ac2de5f1c86d1bc81427a5f9 (patch)
tree5d9efd557b23ca31a5921219c05f41b00f9c7932 /tests/tadd_ui.c
parent75e6da9bb997ede499e9e282317f0c0b3fc92bbd (diff)
downloadmpc-git-rootsunity.tar.gz
merge trunk into branch rootsunityrootsunity
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1273 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tadd_ui.c')
-rw-r--r--tests/tadd_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tadd_ui.c b/tests/tadd_ui.c
index 362ebde..4f8efea 100644
--- a/tests/tadd_ui.c
+++ b/tests/tadd_ui.c
@@ -1,6 +1,6 @@
/* tadd_ui -- test file for mpc_add_ui.
-Copyright (C) 2008, 2010 INRIA
+Copyright (C) 2008, 2010, 2012 INRIA
This file is part of GNU MPC.
@@ -41,7 +41,7 @@ check_ternary_value (void)
}
mpc_set_ui (z, 1, MPC_RNDNN);
- mpc_mul_2exp (z, z, (unsigned long int) prec, MPC_RNDNN);
+ mpc_mul_2ui (z, z, (unsigned long int) prec, MPC_RNDNN);
if (mpc_add_ui (z, z, 1, MPC_RNDNN) == 0)
{
printf ("Error in mpc_add_ui: 2^prec+1 cannot be exact\n");