summaryrefslogtreecommitdiff
path: root/sin.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-02-14 11:36:40 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2002-02-14 11:36:40 +0000
commit5bd7aef7971df1929222d93b437d9392b935c1ff (patch)
tree1c45bd97c1c8108047ad7b8e9e0f80257fdad549 /sin.c
parentc834099818b8b339bf59918257c2197e49a3ca1d (diff)
downloadmpfr-5bd7aef7971df1929222d93b437d9392b935c1ff.tar.gz
mpfr_{div,mul}_2exp -> mpfr_{div,mul}_2ui.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1699 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sin.c')
-rw-r--r--sin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sin.c b/sin.c
index 9dd2b7ab0..20db37436 100644
--- a/sin.c
+++ b/sin.c
@@ -52,7 +52,7 @@ mpfr_sin (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
/* first determine sign */
mpfr_const_pi (c, GMP_RNDN);
- mpfr_mul_2exp (c, c, 1, GMP_RNDN); /* 2*Pi */
+ mpfr_mul_2ui (c, c, 1, GMP_RNDN); /* 2*Pi */
mpfr_div (k, x, c, GMP_RNDN); /* x/(2*Pi) */
mpfr_floor (k, k); /* floor(x/(2*Pi)) */
mpfr_mul (c, k, c, GMP_RNDN);