[Gmp-commit] /home/hgfiles/gmp: Fixed typo in udiv_qr_3by2
mercurial at gmplib.org
mercurial at gmplib.org
Mon Dec 14 15:47:07 CET 2009
details: /home/hgfiles/gmp/rev/f471f16802ec
changeset: 13062:f471f16802ec
user: Niels M?ller <nisse at lysator.liu.se>
date: Mon Dec 14 15:47:01 2009 +0100
description:
Fixed typo in udiv_qr_3by2
diffstat:
ChangeLog | 4 ++++
gmp-impl.h | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 5e65e968ebd6 -r f471f16802ec ChangeLog
--- a/ChangeLog Mon Dec 14 00:01:40 2009 +0100
+++ b/ChangeLog Mon Dec 14 15:47:01 2009 +0100
@@ -1,3 +1,7 @@
+2009-12-14 Niels Möller <nisse at lysator.liu.se>
+
+ * gmp-impl.h (udiv_qr_3by2): Fix typo in argument list.
+
2009-12-13 Niels Möller <nisse at lysator.liu.se>
* gmp-impl.h (udiv_qr_3by2): New macro.
diff -r 5e65e968ebd6 -r f471f16802ec gmp-impl.h
--- a/gmp-impl.h Mon Dec 14 00:01:40 2009 +0100
+++ b/gmp-impl.h Mon Dec 14 15:47:01 2009 +0100
@@ -2661,7 +2661,7 @@
floor ((B^3 - 1) / (d0 + d1 B)) - B.
*/
-#define udiv_qr_3by2(q, r1, r0, n2, n1, n0, d1, d0, di) \
+#define udiv_qr_3by2(q, r1, r0, n2, n1, n0, d1, d0, dinv) \
do { \
mp_limb_t _q1, _q0, _r1, _r0, _t1, _t0, _mask; \
umul_ppmm (_q1, _q0, (n2), (dinv)); \
More information about the gmp-commit
mailing list