Fixed an issue with divexact.c.

This commit is contained in:
wbhart 2010-06-01 00:43:28 +00:00
parent fe046df7fa
commit 67f4b56c1b

View File

@ -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)
{