summaryrefslogtreecommitdiff
path: root/tests/tadd_ui.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-07-05 08:55:42 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-07-05 08:55:42 +0000
commiteb4484e39772db743d5ae49e0fe322ef3fcdb9db (patch)
tree55afe6dd4fc27feac975d138a5fa0e4b043795ec /tests/tadd_ui.c
parent4646f388cb3aa3d3435a08c7bdacab16e9530137 (diff)
downloadmpc-eb4484e39772db743d5ae49e0fe322ef3fcdb9db.tar.gz
renamed mul/div_2exp to mul/div_2ui
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1224 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");