[Gmp-commit] /var/hg/gmp: Fix a comment typo.

mercurial at gmplib.org mercurial at gmplib.org
Sat Dec 27 20:49:31 UTC 2014


details:   /var/hg/gmp/rev/cfab6a7b313a
changeset: 16546:cfab6a7b313a
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Sat Dec 27 21:49:26 2014 +0100
description:
Fix a comment typo.

diffstat:

 mpn/generic/trialdiv.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2a19aef68f68 -r cfab6a7b313a mpn/generic/trialdiv.c
--- a/mpn/generic/trialdiv.c	Sat Dec 27 18:17:58 2014 +0100
+++ b/mpn/generic/trialdiv.c	Sat Dec 27 21:49:26 2014 +0100
@@ -90,7 +90,7 @@
 #define PTAB_LINES (sizeof (gmp_primes_ptab) / sizeof (gmp_primes_ptab[0]))
 
 /* FIXME: We could optimize out one of the outer loop conditions if we
-   had a final ptab entry with a huge nd field.  */
+   had a final ptab entry with a huge np field.  */
 mp_limb_t
 mpn_trialdiv (mp_srcptr tp, mp_size_t tn, mp_size_t nprimes, int *where)
 {


More information about the gmp-commit mailing list