Opened 10 years ago
Closed 10 years ago
#7416 closed Bugs (fixed)
::boost::math::asinh ignores supplied policy for huge negative arguments
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | math |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | math asinh ignore policy | Cc: |
Description
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
Attachments (2)
Change History (3)
by , 10 years ago
Attachment: | asinh_negative_infinity_showcase.cpp added |
---|
comment:1 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sample code that shows bug