summaryrefslogtreecommitdiff
path: root/mini-gmp/mini-gmp.c
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2020-01-28 04:56:54 +0100
committerNiels M?ller <nisse@lysator.liu.se>2020-01-28 04:56:54 +0100
commite4a7d85c4f93d65241101626f9153fd73f1e94d8 (patch)
tree34575dc2fc13464f2bef932c16900e43d11f474e /mini-gmp/mini-gmp.c
parent73ebd62431aa96d24559552b50180b0145557f6c (diff)
downloadgmp-e4a7d85c4f93d65241101626f9153fd73f1e94d8.tar.gz
mini-gmp: Whitespace and grammar fixes, from Paul Eggert.
Diffstat (limited to 'mini-gmp/mini-gmp.c')
-rw-r--r--mini-gmp/mini-gmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mini-gmp/mini-gmp.c b/mini-gmp/mini-gmp.c
index 78cd10344..2e789a2df 100644
--- a/mini-gmp/mini-gmp.c
+++ b/mini-gmp/mini-gmp.c
@@ -790,7 +790,7 @@ mpn_invert_3by2 (mp_limb_t u1, mp_limb_t u0)
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_mod (mpz_t V, mpz_t Qk, long Q,
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 @@ mpz_export (void *r, size_t *countp, int order, size_t size, int endian,
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;