From 760fca37439fd9b8f4d4e452cc42e0085164c681 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 21 Apr 2025 12:14:39 +0100 Subject: [PATCH] Remove MP test case: our test data isn't precise enough. Disable MP expm1 from coverage check. --- include/boost/math/special_functions/expm1.hpp | 2 ++ test/log1p_expm1_extra_test.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/math/special_functions/expm1.hpp b/include/boost/math/special_functions/expm1.hpp index 651cbb3db..2d0607aaf 100644 --- a/include/boost/math/special_functions/expm1.hpp +++ b/include/boost/math/special_functions/expm1.hpp @@ -54,6 +54,7 @@ namespace boost { // x^k / k! // each time that operator() is invoked. // + // LCOV_EXCL_START multiprecision case only, excluded from coverage analysis template struct expm1_series { @@ -119,6 +120,7 @@ namespace boost { policies::check_series_iterations("boost::math::expm1<%1%>(%1%)", max_iter, pol); return result; } + // LCOV_EXCL_STOP template BOOST_MATH_GPU_ENABLED T expm1_imp(T x, const boost::math::integral_constant&, const P& pol) diff --git a/test/log1p_expm1_extra_test.cpp b/test/log1p_expm1_extra_test.cpp index cdf1be2d7..eb0ff079d 100644 --- a/test/log1p_expm1_extra_test.cpp +++ b/test/log1p_expm1_extra_test.cpp @@ -69,6 +69,5 @@ BOOST_AUTO_TEST_CASE( test_main ) test(boost::multiprecision::cpp_bin_float_double(0), "cpp_bin_float_double"); test(boost::multiprecision::cpp_bin_float_double_extended(0), "cpp_bin_float_double_extended"); test(boost::multiprecision::cpp_bin_float_quad(0), "cpp_bin_float_quad"); - test(boost::multiprecision::cpp_bin_float_100(0), "cpp_bin_float_100"); }