2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Coverage: Correct expected error rates on arm and s390,

Correct float128 log1p dispatch call.
This commit is contained in:
jzmaddock
2025-04-25 19:00:49 +01:00
parent f1da303cbf
commit 33f80d9127
3 changed files with 12 additions and 2 deletions

View File

@@ -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<int, 113>());
return boost::math::detail::log1p_imp(x, pol, boost::math::integral_constant<int, 0>());
}
}
#endif

View File

@@ -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
//

View File

@@ -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