Boost C++ Libraries: Ticket #7416: ::boost::math::asinh ignores supplied policy for huge negative arguments https://svn.boost.org/trac10/ticket/7416 <p> Sample code: </p> <pre class="wiki">#include &lt;boost/math/special_functions/asinh.hpp&gt; int main() { using namespace ::boost::math::policies; // should not throw // but throws "numeric overflow" error ::boost::math::asinh(-INFINITY, make_policy(overflow_error&lt;ignore_error&gt;())); return 0; } </pre><p> Patch with possible fix attached </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7416 Trac 1.4.3 Oleksii <oleksii.taran@…> Mon, 24 Sep 2012 12:00:40 GMT attachment set https://svn.boost.org/trac10/ticket/7416 https://svn.boost.org/trac10/ticket/7416 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">asinh_negative_infinity_showcase.cpp</span> </li> </ul> <p> Sample code that shows bug </p> Ticket Oleksii <oleksii.taran@…> Mon, 24 Sep 2012 12:01:22 GMT attachment set https://svn.boost.org/trac10/ticket/7416 https://svn.boost.org/trac10/ticket/7416 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">asinh_ignore_policy_fix.patch</span> </li> </ul> <p> Patch with possible fix </p> Ticket John Maddock Mon, 24 Sep 2012 17:16:33 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7416#comment:1 https://svn.boost.org/trac10/ticket/7416#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80695" title="Fix improper overflow error handling in asinh.hpp. Update asinh and ...">[80695]</a>) Fix improper overflow error handling in asinh.hpp. Update asinh and acosh test cases. Add fixes to release notes and regenerate docs. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7416" title="#7416: Bugs: ::boost::math::asinh ignores supplied policy for huge negative arguments (closed: fixed)">#7416</a>. </p> Ticket