#include int main() { using namespace ::boost::math::policies; // should not throw // but throws "numeric overflow" error ::boost::math::asinh(-INFINITY, make_policy(overflow_error())); return 0; }