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

mercurial at gmplib.org mercurial at gmplib.org
Sat Feb 15 13:13:58 UTC 2014


details:   /var/hg/gmp/rev/1a078eb939b8
changeset: 16300:1a078eb939b8
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Feb 15 14:13:39 2014 +0100
description:
Fix typo.

details:   /var/hg/gmp/rev/8066510ad4b6
changeset: 16301:8066510ad4b6
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Feb 15 14:13:54 2014 +0100
description:
ChangeLog

diffstat:

 ChangeLog         |  4 ++++
 tests/mpn/t-div.c |  6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 89ae483c3c7c -r 8066510ad4b6 ChangeLog
--- a/ChangeLog	Sat Feb 15 08:35:20 2014 +0100
+++ b/ChangeLog	Sat Feb 15 14:13:54 2014 +0100
@@ -1,3 +1,7 @@
+2014-02-15  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tests/mpn/t-div.c: Fix typo.
+
 2014-02-15 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* doc/gmp.texi (mpz_roinit_n, MPZ_ROINIT_N): Document that
diff -r 89ae483c3c7c -r 8066510ad4b6 tests/mpn/t-div.c
--- a/tests/mpn/t-div.c	Sat Feb 15 08:35:20 2014 +0100
+++ b/tests/mpn/t-div.c	Sat Feb 15 14:13:54 2014 +0100
@@ -482,9 +482,9 @@
 	  /* mpn_div_qr_1 */
 	  mp_limb_t qh;
 	  qp[nn-1] = qran1;
-	  rp[0] = mpn_div_qr_1 (qp, &qh, np, nn, dnp[dn-1]);
-	  ASSERT_ALWAYS (qp[-1] = qran0); ASSERT_ALWAYS (qp[nn-1] == qran1);
-	  qp[nn-1] = qh;
+	  rp[0] = mpn_div_qr_1 (qp, &qh, np, nn, dnp[dn - 1]);
+	  ASSERT_ALWAYS (qp[-1] == qran0); ASSERT_ALWAYS (qp[nn - 1] == qran1);
+	  qp[nn - 1] = qh;
 	  check_one (qp, rp, np, nn,  dnp + dn - 1, 1, "mpn_div_qr_1", 0);
 	}
     }


More information about the gmp-commit mailing list