diff --git a/include/boost/math/special_functions/log1p.hpp b/include/boost/math/special_functions/log1p.hpp index 0fe7ef838..e38fba307 100644 --- a/include/boost/math/special_functions/log1p.hpp +++ b/include/boost/math/special_functions/log1p.hpp @@ -406,7 +406,7 @@ BOOST_MATH_GPU_ENABLED inline std::float128_t log1p(std::float128_t x, const Pol } else { - return boost::math::detail::log1p_imp(x, pol, boost::math::integral_constant()); + return boost::math::detail::log1p_imp(x, pol, boost::math::integral_constant()); } } #endif diff --git a/test/test_0F1.cpp b/test/test_0F1.cpp index f597128c4..a5d79284c 100644 --- a/test/test_0F1.cpp +++ b/test/test_0F1.cpp @@ -49,7 +49,7 @@ void expected_results() ".*", // platform largest_type, // test type(s) "Large.*", // test data group - ".*", 1100, 300); // test function + ".*", 1300, 300); // test function // diff --git a/test/test_1F1.cpp b/test/test_1F1.cpp index f3b226efd..3e91b6623 100644 --- a/test/test_1F1.cpp +++ b/test/test_1F1.cpp @@ -117,6 +117,16 @@ void expected_results() #endif +#if defined(__aarch64__) || defined(__s390__) + add_expected_result( + ".*", // compiler + ".*", // stdlib + ".*", // platform + "double", // test type(s) + "Bug.*", // test data group + ".*", 10, 2); // test function +#endif + add_expected_result( ".*", // compiler ".*", // stdlib