Skip to content

Commit 33f80d9

Browse files
committed
Coverage: Correct expected error rates on arm and s390,
Correct float128 log1p dispatch call.
1 parent f1da303 commit 33f80d9

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

include/boost/math/special_functions/log1p.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ BOOST_MATH_GPU_ENABLED inline std::float128_t log1p(std::float128_t x, const Pol
406406
}
407407
else
408408
{
409-
return boost::math::detail::log1p_imp(x, pol, boost::math::integral_constant<int, 113>());
409+
return boost::math::detail::log1p_imp(x, pol, boost::math::integral_constant<int, 0>());
410410
}
411411
}
412412
#endif

test/test_0F1.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void expected_results()
4949
".*", // platform
5050
largest_type, // test type(s)
5151
"Large.*", // test data group
52-
".*", 1100, 300); // test function
52+
".*", 1300, 300); // test function
5353

5454

5555
//

test/test_1F1.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,16 @@ void expected_results()
117117

118118
#endif
119119

120+
#if defined(__aarch64__) || defined(__s390__)
121+
add_expected_result(
122+
".*", // compiler
123+
".*", // stdlib
124+
".*", // platform
125+
"double", // test type(s)
126+
"Bug.*", // test data group
127+
".*", 10, 2); // test function
128+
#endif
129+
120130
add_expected_result(
121131
".*", // compiler
122132
".*", // stdlib

0 commit comments

Comments
 (0)