diff options
Diffstat (limited to 'tests/tadd_ui.c')
-rw-r--r-- | tests/tadd_ui.c | 4 |
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"); |