[Gmp-commit] /var/hg/gmp: (main): Amend last change.

mercurial at gmplib.org mercurial at gmplib.org
Mon Jul 24 10:54:09 UTC 2017


details:   /var/hg/gmp/rev/e12a84fa9cdf
changeset: 17481:e12a84fa9cdf
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Mon Jul 24 12:53:57 2017 +0200
description:
(main): Amend last change.

diffstat:

 tests/mpn/t-bdiv.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3cb679d88e81 -r e12a84fa9cdf tests/mpn/t-bdiv.c
--- a/tests/mpn/t-bdiv.c	Mon Jul 24 12:25:32 2017 +0200
+++ b/tests/mpn/t-bdiv.c	Mon Jul 24 12:53:57 2017 +0200
@@ -267,7 +267,7 @@
 
 	      /* Test mpn_sbpi1_bdiv_r; we use mpn_sbpi1_bdiv_q's quotient. */
 	      MPN_COPY (rp, np, nn);
-	      mpn_sbpi1_bdiv_r (rp, nn - dn, dp, MIN(dn,nn-dn), -dinv);
+	      mpn_sbpi1_bdiv_r (rp, nn, dp, dn, -dinv);
 	      ASSERT_ALWAYS (rp[-1] == rran0);
 	      check_one (qp, NULL, 0, np, nn, dp, dn, "mpn_sbpi1_bdiv_r");
 	    }


More information about the gmp-commit mailing list