Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11999: int128_t from cpp_int gives unexpected results when bitshifting
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-19 19:32:27
#11999: int128_t from cpp_int gives unexpected results when bitshifting
------------------------------------------------+--------------------------
Reporter: Jordi Vermeulen <J.L.Vermeulen@â¦> | Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component:
Version: Boost 1.60.0 | multiprecision
Resolution: fixed | Severity: Problem
| Keywords:
------------------------------------------------+--------------------------
Changes (by johnmaddock):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in
https://github.com/boostorg/multiprecision/commit/2f635b45ffc0517a67e8210239a587a29b62575a
Note however that bit-shifting a signed integer invokes undefined
behaviour, so the std::int64_t behaviour above is at the whim of the
specific machine/compiler.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11999#comment:1> 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:19 UTC