Boost C++ Libraries: Ticket #8741: Can't shift left more than 31 bits with the <<= operator for number/cpp_int_backend. https://svn.boost.org/trac10/ticket/8741 <p> Can't shift left more than 31 bits with the &lt;&lt;= operator for number/cpp_int_backend. </p> <p> number&lt;cpp_int_backend&lt;90, 90, unsigned_magnitude, unchecked, void&gt;&gt; testNum("0x00BBBBCCCCDDDDEEEEFFFF"); </p> <p> <em> testNum remains unchanged testNum &lt;&lt;= 32; </em></p> <p> <em> testNum shifts left one bit. testNum &lt;&lt;= 33; </em></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8741 Trac 1.4.3 John Maddock Fri, 28 Jun 2013 15:16:06 GMT status changed https://svn.boost.org/trac10/ticket/8741#comment:1 https://svn.boost.org/trac10/ticket/8741#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Confirmed, investigating. </p> Ticket John Maddock Mon, 01 Jul 2013 17:06:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8741#comment:2 https://svn.boost.org/trac10/ticket/8741#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84925" title="Fix left shift operator. Fixes #8741.">[84925]</a>) Fix left shift operator. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8741" title="#8741: Bugs: Can't shift left more than 31 bits with the &lt;&lt;= operator for ... (closed: fixed)">#8741</a>. </p> Ticket