Re: [Boost-bugs] [Boost C++ Libraries] #8133: multiprecision, failed gcd tests (test_cpp_int.cpp)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8133: multiprecision, failed gcd tests (test_cpp_int.cpp)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-21 18:36:18


#8133: multiprecision, failed gcd tests (test_cpp_int.cpp)
---------------------------------------------------+------------------------
  Reporter: Stepan Podoskin <stepik-777@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------+------------------------

Comment (by johnmaddock):

 Thanks, reproduced.

 It's a bug in the subtraction routine for subtracting an unsigned int -
 wrongly uses a carry when subtracting ~static_cast<unsigned>(0).

 Testing a fix now.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8133#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC