[Gmp-commit] /var/hg/gmp: typo in previous change.

mercurial at gmplib.org mercurial at gmplib.org
Mon Apr 9 18:20:47 CEST 2012


details:   /var/hg/gmp/rev/de4654b90e31
changeset: 14799:de4654b90e31
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Mon Apr 09 18:07:50 2012 +0200
description:
typo in previous change.

diffstat:

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

diffs (12 lines):

diff -r 2c2dd340fb3c -r de4654b90e31 mpz/bin_uiui.c
--- a/mpz/bin_uiui.c	Mon Apr 09 17:47:55 2012 +0200
+++ b/mpz/bin_uiui.c	Mon Apr 09 18:07:50 2012 +0200
@@ -431,7 +431,7 @@
     k = MIN (k, n-k);
     if (n < GMP_NUMB_BITS)
       mpz_bc_bin_uiui (r, n, k);
-    else if (k < 25)
+    else if (k < MAX_K)
       mpz_smallk_bin_uiui (r, n, k);
     else
       mpz_bdiv_bin_uiui (r, n, k);


More information about the gmp-commit mailing list