Ticket #8160: fix.patch

File fix.patch, 494 bytes (added by Stepan Podoskin <stepik-777@…>, 10 years ago)

patch "boost/multiprecision"

  • cpp_int/divide.hpp

     
    336336   r.sign(false);
    337337   typename CppInt1::limb_pointer pr = r.limbs();
    338338
    339    if((r_order == 0) && (*pr == 0))
    340    {
    341       // All the limbs in x are zero, so is the result:
    342       return;
    343    }
    344339   //
    345340   // check for x < y, try to do this without actually having to
    346341   // do a full comparison: