[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Fri Aug 12 18:32:20 CEST 2011


details:   /var/hg/gmp/rev/cb68fe8a4bc4
changeset: 14231:cb68fe8a4bc4
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Aug 12 18:32:10 2011 +0200
description:
(LIMBS_PER_DIGIT_IN_BASE): Fix typo.

details:   /var/hg/gmp/rev/4f8667001b95
changeset: 14232:4f8667001b95
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Aug 12 18:32:14 2011 +0200
description:
*** empty log message ***

diffstat:

 ChangeLog  |  4 ++++
 gmp-impl.h |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 95fe5c7e63f1 -r 4f8667001b95 ChangeLog
--- a/ChangeLog	Wed Aug 10 22:03:31 2011 +0200
+++ b/ChangeLog	Fri Aug 12 18:32:14 2011 +0200
@@ -1,3 +1,7 @@
+2011-08-12  Torbjorn Granlund  <tege at gmplib.org>
+
+	* gmp-impl.h (LIMBS_PER_DIGIT_IN_BASE): Fix typo.
+
 2011-08-10  Torbjorn Granlund  <tege at gmplib.org>
 
 	* gmp-impl.h (DIGITS_IN_BASEGT2_FROM_BITS): New.
diff -r 95fe5c7e63f1 -r 4f8667001b95 gmp-impl.h
--- a/gmp-impl.h	Wed Aug 10 22:03:31 2011 +0200
+++ b/gmp-impl.h	Fri Aug 12 18:32:14 2011 +0200
@@ -4068,7 +4068,7 @@
 #define LIMBS_PER_DIGIT_IN_BASE(res, ndigits, b)			\
   do {									\
     mp_limb_t _ph, _dummy;						\
-    umul_ppmm (_ph, _dummy, mp_bases[base].log2b, (ndigits));		\
+    umul_ppmm (_ph, _dummy, mp_bases[b].log2b, (ndigits));		\
     res = 8 * _ph / GMP_NUMB_BITS + 2;					\
   } while (0)
 


More information about the gmp-commit mailing list