summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-16 10:34:26 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-16 10:34:26 +0000
commitf62e2e983fc605a279b2d530bedc4ceafd3488ba (patch)
tree03253cbd8c1c6cd889b5f21486969e61fe7b859b
parent99ad6de9ad75b0e2734e0c3693a712ef0fc72b54 (diff)
downloadmpfr-f62e2e983fc605a279b2d530bedc4ceafd3488ba.tar.gz
[src/cos.c] Updated a comment.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13791 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--src/cos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cos.c b/src/cos.c
index 7336bb860..61a9de20b 100644
--- a/src/cos.c
+++ b/src/cos.c
@@ -65,8 +65,8 @@ mpfr_cos2_aux (mpfr_ptr f, mpfr_srcptr r)
ex = mpfr_get_z_2exp (x, r); /* r = x*2^ex */
/* Remove trailing zeroes.
- Since x comes from a MPFR number, due to the constrainst on the exponent
- and the precision, there can be no integer overflow below. */
+ Since x comes from a regular MPFR number, due to the constraints on the
+ exponent and the precision, there can be no integer overflow below. */
l = mpz_scan1 (x, 0);
ex += l;
mpz_fdiv_q_2exp (x, x, l);