Boost C++ Libraries: Ticket #11648: div infinite loop https://svn.boost.org/trac10/ticket/11648 <p> Dividing two values of fixed 256-bit unchecked unsigned integer type can never finish. </p> <p> Type: </p> <pre class="wiki">using u256 = boost::multiprecision::number&lt;boost::multiprecision::cpp_int_backend&lt;256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void&gt;&gt;; </pre><p> Values: </p> <pre class="wiki">u256 a{"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBA"}; u256 b{"0x1DAE6076B981DAE6076B981DAE6076B981DAE6076B981DAE6076B981DAE6077"}; </pre><p> Full test: <a class="ext-link" href="https://gist.github.com/chfast/9136896f1ee1d214b7a6"><span class="icon">​</span>https://gist.github.com/chfast/9136896f1ee1d214b7a6</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11648 Trac 1.4.3 chfast@… Sun, 13 Sep 2015 16:16:10 GMT attachment set https://svn.boost.org/trac10/ticket/11648 https://svn.boost.org/trac10/ticket/11648 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-div.cpp</span> </li> </ul> <p> test case </p> Ticket John Maddock Tue, 22 Sep 2015 17:26:36 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11648#comment:1 https://svn.boost.org/trac10/ticket/11648#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">fixed</span> </li> </ul> <p> Thanks for the test case. Now fixed in <a class="ext-link" href="https://github.com/boostorg/multiprecision/commit/a1eafc4228d90dca05f180cd5db183c58c90721a"><span class="icon">​</span>https://github.com/boostorg/multiprecision/commit/a1eafc4228d90dca05f180cd5db183c58c90721a</a>. </p> Ticket anonymous Fri, 01 Jul 2016 16:15:52 GMT <link>https://svn.boost.org/trac10/ticket/11648#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11648#comment:2</guid> <description> <p> Has that been released in 1.61? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 01 Jul 2016 16:26:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11648#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11648#comment:3</guid> <description> <p> Yes. </p> </description> <category>Ticket</category> </item> <item> <author>chfast@…</author> <pubDate>Fri, 01 Jul 2016 16:34:25 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/11648#comment:4 https://svn.boost.org/trac10/ticket/11648#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.61.0</span> </li> </ul> Ticket