Better fix for #8160.

Refs #8160.

[SVN r83153]
This commit is contained in:
John Maddock
2013-02-25 16:32:59 +00:00
parent 5245fd31e2
commit 04e971893b

View File

@@ -336,13 +336,6 @@ void divide_unsigned_helper(
r.sign(false);
typename CppInt1::limb_pointer pr = r.limbs();
if((r_order == 0) && (*pr == 0))
{
// All the limbs in x are zero, so is the result:
if(result)
*result = static_cast<limb_type>(0u);
return;
}
//
// check for x < y, try to do this without actually having to
// do a full comparison: