Boost C++ Libraries: Ticket #12195: cpp_bin_float infinity does not change sign when multiplied/divided by negative number https://svn.boost.org/trac10/ticket/12195 <p> When cpp_bin_float number with value=infinity multiplied or divided by negative number the product keeps the previous sign of infinity instead of changing the sign to the opposite. </p> <p> Platform: Mingw, gcc 5.3.0, x64. All optimization levels. Library version: both 1.60.0 and the newest files from gnuhub </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12195 Trac 1.4.3 Michael Shatz Thu, 12 May 2016 17:32:01 GMT attachment set https://svn.boost.org/trac10/ticket/12195 https://svn.boost.org/trac10/ticket/12195 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">inf_test.cpp</span> </li> </ul> <p> demonstrate wrong sign of result of multiplication of infinity </p> Ticket John Maddock Sat, 14 May 2016 16:29:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12195#comment:1 https://svn.boost.org/trac10/ticket/12195#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> This should now be fixed in develop. </p> <p> Also added support for sign-related functions (signbit, copysign etc) for types with signed-zero, and added signed zero support to cpp_bin_float. </p> Ticket