summaryrefslogtreecommitdiff
path: root/src/mul_2ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mul_2ui.c')
-rw-r--r--src/mul_2ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mul_2ui.c b/src/mul_2ui.c
index 7a6f1ec..46aa788 100644
--- a/src/mul_2ui.c
+++ b/src/mul_2ui.c
@@ -25,8 +25,8 @@ mpc_mul_2ui (mpc_ptr a, mpc_srcptr b, unsigned long int c, mpc_rnd_t rnd)
{
int inex_re, inex_im;
- inex_re = mpfr_mul_2exp (mpc_realref(a), mpc_realref(b), c, MPC_RND_RE(rnd));
- inex_im = mpfr_mul_2exp (mpc_imagref(a), mpc_imagref(b), c, MPC_RND_IM(rnd));
+ inex_re = mpfr_mul_2ui (mpc_realref(a), mpc_realref(b), c, MPC_RND_RE(rnd));
+ inex_im = mpfr_mul_2ui (mpc_imagref(a), mpc_imagref(b), c, MPC_RND_IM(rnd));
return MPC_INEX(inex_re, inex_im);
}