Boost C++ Libraries: Ticket #12989: Bug in multiprecision shift left https://svn.boost.org/trac10/ticket/12989 <p> In cpp_int this test fails: </p> <p> <code></code>` using uint256 = number&lt;cpp_int_backend&lt;256, 256, unsigned_magnitude, unchecked, void&gt;&gt;; BOOST_CHECK_EQUAL(uint256(3) &lt;&lt; 255, uint256(1) &lt;&lt; 255); <code></code>` </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12989 Trac 1.4.3 John Maddock Sat, 30 Dec 2017 18:39:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12989#comment:1 https://svn.boost.org/trac10/ticket/12989#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicates <a class="ext-link" href="https://github.com/boostorg/multiprecision/issues/31"><span class="icon">​</span>https://github.com/boostorg/multiprecision/issues/31</a> </p> Ticket