[Gmp-commit] /var/hg/gmp: mpz/lucmod.c: another typo in the same comment-line...

mercurial at gmplib.org mercurial at gmplib.org
Thu Jan 9 15:41:28 UTC 2020


details:   /var/hg/gmp/rev/fed5b369949a
changeset: 18008:fed5b369949a
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Jan 09 16:40:59 2020 +0100
description:
mpz/lucmod.c: another typo in the same comment-line...

diffstat:

 mpz/lucmod.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r dfe3af2d796c -r fed5b369949a mpz/lucmod.c
--- a/mpz/lucmod.c	Thu Jan 09 14:51:14 2020 +0100
+++ b/mpz/lucmod.c	Thu Jan 09 16:40:59 2020 +0100
@@ -42,7 +42,7 @@
 /* Requires n > 4; b0 > 0; -2*Q must not overflow a long.	*/
 /* If U_{k+1}==0 (mod n) or V_{k+1}==0 (mod n), it returns 1,	*/
 /* otherwise it returns 0 and sets V=V_{k+1} and Qk=Q^{k+1}.	*/
-/* V will never grow beyond SIZ(n), Qk not beyon 2*SIZ(n).	*/
+/* V will never grow beyond SIZ(n), Qk not beyond 2*SIZ(n).	*/
 int
 mpz_lucas_mod (mpz_ptr V, mpz_ptr Qk, long Q,
 	       mp_bitcnt_t b0, mpz_srcptr n, mpz_ptr T1, mpz_ptr T2)


More information about the gmp-commit mailing list