Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8711: cpp_int fails to construct correctly from minimum negative
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-24 10:36:03
#8711: cpp_int fails to construct correctly from minimum negative
------------------------------------+--------------------------------------
Reporter: Jan Bouwer | Owner: johnmaddock
<JBouwer@â¦> | Status: assigned
Type: Bugs | Component: multiprecision
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.53.0 | Keywords: cpp_int negative minimum
Resolution: |
------------------------------------+--------------------------------------
Comment (by johnmaddock):
(In [84897]) Add some typecasts to ensure conversion from negative values
proceeds correctly.
Fix masking of values during construction so overflow wraps around in
unchecked fixed precision integers.
Add tests for above changes.
Refs #8711.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8711#comment:2> 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:13 UTC