summaryrefslogtreecommitdiff
path: root/src/sinu.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2020-12-14 18:11:19 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2020-12-14 18:11:19 +0000
commitf241b48dc1d76e9ea9e9c7f96cd6bf45d3436c81 (patch)
tree2e170a6a3f504628c787dd842f5f0a4431e3b98e /src/sinu.c
parent7a34d3d20acea3d68c18ea07a3612df0e05dd0fb (diff)
downloadmpfr-f241b48dc1d76e9ea9e9c7f96cd6bf45d3436c81.tar.gz
[src/sinu.c] fixed typo (thanks Jeffrey Sarnoff)
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14188 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/sinu.c')
-rw-r--r--src/sinu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sinu.c b/src/sinu.c
index 46bf45ef9..053eace35 100644
--- a/src/sinu.c
+++ b/src/sinu.c
@@ -76,7 +76,7 @@ mpfr_sinu (mpfr_ptr y, mpfr_srcptr x, unsigned long u, mpfr_rnd_t rnd_mode)
mpfr_mul (t, t, x, MPFR_RNDN); /* t = 2*pi*x * (1 + theta2)^2 where
|theta2| <= 2^-prec */
mpfr_div_ui (t, t, u, MPFR_RNDN); /* t = 2*pi*x/u * (1 + theta3)^3 where
- |theta2| <= 2^-prec */
+ |theta3| <= 2^-prec */
/* if t is zero here, it means the division by u underflows, then
sin(t) also underflows, since |sin(x)| <= |x| for say |x| < 1. */
if (MPFR_IS_ZERO (t))