[Gmp-commit] /var/hg/gmp: mini-gmp: Whitespace and grammar fixes, from Paul E...

mercurial at gmplib.org mercurial at gmplib.org
Tue Jan 28 04:05:14 UTC 2020


details:   /var/hg/gmp/rev/72a89e24a793
changeset: 18024:72a89e24a793
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Tue Jan 28 04:56:54 2020 +0100
description:
mini-gmp: Whitespace and grammar fixes, from Paul Eggert.

diffstat:

 mini-gmp/mini-gmp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r a615debc4e93 -r 72a89e24a793 mini-gmp/mini-gmp.c
--- a/mini-gmp/mini-gmp.c	Fri Jan 24 04:38:57 2020 +0100
+++ b/mini-gmp/mini-gmp.c	Tue Jan 28 04:56:54 2020 +0100
@@ -790,7 +790,7 @@
 
        qh' = floor( (b^3 - 1) / u) - b = floor ((b^3 - b u - 1) / u
 	   = floor( (b (~u) + b-1) / u),
-	   
+
        and the remainder
 
        r = b (~u) + b-1 - qh (b uh + ul)
@@ -3418,7 +3418,7 @@
       gmp_lucas_step_k_2k (V, Qk, n);
 
       /* A step k->k+1 is performed if the bit in $n$ is 1	*/
-      /* mpz_tstbit(n,bs) or the the bit is 0 in $n$ but	*/
+      /* mpz_tstbit(n,bs) or the bit is 0 in $n$ but	*/
       /* should be 1 in $n+1$ (bs == b0)			*/
       if (b0 == bs || mpz_tstbit (n, bs))
 	{
@@ -4488,7 +4488,7 @@
       ptrdiff_t word_step;
       /* The current (partial) limb. */
       mp_limb_t limb;
-      /* The number of bytes left to to in this limb. */
+      /* The number of bytes left to do in this limb. */
       size_t bytes;
       /* The index where the limb was read. */
       mp_size_t i;


More information about the gmp-commit mailing list