Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83153 - trunk/boost/multiprecision/cpp_int
From: john_at_[hidden]
Date: 2013-02-25 11:33:00


Author: johnmaddock
Date: 2013-02-25 11:32:59 EST (Mon, 25 Feb 2013)
New Revision: 83153
URL: http://svn.boost.org/trac/boost/changeset/83153

Log:
Better fix for #8160.
Refs #8160.
Text files modified:
   trunk/boost/multiprecision/cpp_int/divide.hpp | 7 -------
   1 files changed, 0 insertions(+), 7 deletions(-)

Modified: trunk/boost/multiprecision/cpp_int/divide.hpp
==============================================================================
--- trunk/boost/multiprecision/cpp_int/divide.hpp (original)
+++ trunk/boost/multiprecision/cpp_int/divide.hpp 2013-02-25 11:32:59 EST (Mon, 25 Feb 2013)
@@ -336,13 +336,6 @@
    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:


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk