diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-06-12 10:33:42 +0200 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-06-12 10:33:42 +0200 |
commit | 1f35b7ca03b89beb8725c86f574d1a2f0b292eca (patch) | |
tree | e12f216a58a6b1c87b230f80dd09f7ee6f91f66b /gen-trialdivtab.c | |
parent | be38de63ca873f29b885b83fc979d20571f6a12e (diff) | |
download | gmp-1f35b7ca03b89beb8725c86f574d1a2f0b292eca.tar.gz |
Clarify a comment.
Diffstat (limited to 'gen-trialdivtab.c')
-rw-r--r-- | gen-trialdivtab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gen-trialdivtab.c b/gen-trialdivtab.c index 0a265046a..f7d07d27b 100644 --- a/gen-trialdivtab.c +++ b/gen-trialdivtab.c @@ -1,5 +1,7 @@ /* gen-trialdivtab.c + Contributed to the GNU project by Torbjörn Granlund. + Copyright 2009 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -240,7 +242,7 @@ mpn_mod_1s_4p_cps (mpz_t cps[7], mpz_t bparm) mpz_mul_2exp (t, t, limb_bits - cnt); mpz_sub (t, t, b); mpz_mul_2exp (t, t, limb_bits); - mpz_tdiv_q (bi, t, b); /* bi = B^2/b */ + mpz_tdiv_q (bi, t, b); /* bi = B^2/b, except msb */ mpz_set_ui (t, 1); mpz_mul_2exp (t, t, limb_bits); /* t = B */ |