[Boost-bugs] [Boost C++ Libraries] #7416: ::boost::math::asinh ignores supplied policy for huge negative arguments

Subject: [Boost-bugs] [Boost C++ Libraries] #7416: ::boost::math::asinh ignores supplied policy for huge negative arguments
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-24 11:57:17


#7416: ::boost::math::asinh ignores supplied policy for huge negative arguments
-----------------------------------------------+----------------------------
 Reporter: Oleksii <oleksii.taran@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost Development Trunk | Severity: Problem
 Keywords: math asinh ignore policy |
-----------------------------------------------+----------------------------
 Sample code:


 {{{
 #include <boost/math/special_functions/asinh.hpp>

 int main()
 {
         using namespace ::boost::math::policies;

         // should not throw
         // but throws "numeric overflow" error
         ::boost::math::asinh(-INFINITY,
 make_policy(overflow_error<ignore_error>()));

         return 0;
 }
 }}}

 Patch with possible fix attached

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7416>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC