[Gmp-commit] /var/hg/gmp: -typo

mercurial at gmplib.org mercurial at gmplib.org
Sun Jan 3 12:22:09 UTC 2016


details:   /var/hg/gmp/rev/42eff38629b1
changeset: 17024:42eff38629b1
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sun Jan 03 13:22:03 2016 +0100
description:
-typo

diffstat:

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

diffs (12 lines):

diff -r 66131f626774 -r 42eff38629b1 mpz/bin_uiui.c
--- a/mpz/bin_uiui.c	Sun Jan 03 11:39:01 2016 +0100
+++ b/mpz/bin_uiui.c	Sun Jan 03 13:22:03 2016 +0100
@@ -678,7 +678,7 @@
 	     k <= (BIN_UIUI_RECURSIVE_SMALLDC ? ODD_CENTRAL_BINOMIAL_TABLE_LIMIT : ODD_FACTORIAL_TABLE_LIMIT)* 2)
       mpz_smallkdc_bin_uiui (r, n, k);
     else if (ABOVE_THRESHOLD (k, BIN_GOETGHELUCK_THRESHOLD) &&
-	     k < n) /* k > ODD_FACTORIAL_TABLE_LIMIT */
+	     k > (n >> 4)) /* k > ODD_FACTORIAL_TABLE_LIMIT */
       mpz_goetgheluck_bin_uiui (r, n, k);
     else
       mpz_bdiv_bin_uiui (r, n, k);


More information about the gmp-commit mailing list