diff --git a/include/boost/math/special_functions/hypergeometric_1F1.hpp b/include/boost/math/special_functions/hypergeometric_1F1.hpp index 35d087ed6..21e25670c 100644 --- a/include/boost/math/special_functions/hypergeometric_1F1.hpp +++ b/include/boost/math/special_functions/hypergeometric_1F1.hpp @@ -140,7 +140,7 @@ namespace boost { namespace math { namespace detail { return hypergeometric_1F1_from_function_ratio_negative_b_forwards(a, b, z, pol, log_scaling); } #endif - // LCOV_EXCL_END + // LCOV_EXCL_STOP } // // We could fall back to Tricomi's approximation if we're in the transition zone diff --git a/test/test_1F1_regularized.hpp b/test/test_1F1_regularized.hpp index e4d2d4e2f..2221e69d5 100644 --- a/test/test_1F1_regularized.hpp +++ b/test/test_1F1_regularized.hpp @@ -84,7 +84,7 @@ void test_spots(T z, const char* type_name) BOOST_IF_CONSTEXPR(std::numeric_limits::has_infinity) { BOOST_CHECK_EQUAL(boost::math::hypergeometric_1F1_regularized(600.25, 102.75, 11512.0), std::numeric_limits::infinity()); - BOOST_IF_CONSTEXPR(std::numeric_limits::max_exponent == 16384) + BOOST_IF_CONSTEXPR(std::numeric_limits::max_exponent > 16000) { BOOST_CHECK_EQUAL(boost::math::hypergeometric_1F1_regularized(600.25, 102.75, 9985.0), std::numeric_limits::infinity()); } diff --git a/test/test_2F0.hpp b/test/test_2F0.hpp index 4113ebd2c..7a10f97c8 100644 --- a/test/test_2F0.hpp +++ b/test/test_2F0.hpp @@ -104,4 +104,5 @@ void test_spots(T z, const char* type_name) // BOOST_CHECK_EQUAL(boost::math::hypergeometric_2F0(T(0), T(20), T(2)), T(1)); BOOST_CHECK_EQUAL(boost::math::hypergeometric_2F0(T(20), T(0), T(2)), T(1)); + BOOST_CHECK_EQUAL(boost::math::hypergeometric_2F0(T(20), T(10), T(0)), T(1)); }