From 67f4b56c1ba1cd81b1440e3b1a017b9f19018ef1 Mon Sep 17 00:00:00 2001 From: wbhart Date: Tue, 1 Jun 2010 00:43:28 +0000 Subject: [PATCH] Fixed an issue with divexact.c. --- mpn/generic/divexact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpn/generic/divexact.c b/mpn/generic/divexact.c index 966c7f55..353d187e 100644 --- a/mpn/generic/divexact.c +++ b/mpn/generic/divexact.c @@ -71,7 +71,7 @@ mpn_divexact (mp_ptr qp, qn = nn + 1 - dn; count_trailing_zeros (shift, dp[0]); - if (BELOW_THRESHOLD (qn, INV_DIV_QR_THRESHOLD) && BELOW_THRESHOLD(dn, INV_DIV_QR_THRESHOLD)) + if ((BELOW_THRESHOLD (qn, INV_DIV_QR_THRESHOLD) && BELOW_THRESHOLD(dn, INV_DIV_QR_THRESHOLD)) || (dn <= 6)) { if (shift > 0) {