diff --git a/test/test_bessel_y.hpp b/test/test_bessel_y.hpp index 8bcf19f7e..3e489d095 100644 --- a/test/test_bessel_y.hpp +++ b/test/test_bessel_y.hpp @@ -246,14 +246,14 @@ void test_bessel(T, const char* name) #endif BOOST_IF_CONSTEXPR(std::numeric_limits::has_infinity && (std::numeric_limits::min_exponent < -1072)) { - static const std::array, 7> coverage_data = { { + const std::array, 7> coverage_data = { { #if (LDBL_MAX_10_EXP > 4931) || defined(TEST_MPF_50) || defined(TEST_MPFR_50) || defined(TEST_CPP_DEC_FLOAT) || defined(TEST_FLOAT128) || defined(TEST_CPP_BIN_FLOAT) {{ SC_(15.25), ldexp(T(1), -1071), SC_(-9.39553199265929955912687892204143267985847111378392154596e4931)}}, #else {{ SC_(15.25), ldexp(T(1), -1071), -std::numeric_limits::infinity() }}, #endif #if (LDBL_MAX_10_EXP > 4945) || defined(TEST_MPF_50) || defined(TEST_MPFR_50) || defined(TEST_CPP_DEC_FLOAT) || defined(TEST_FLOAT128) || defined(TEST_CPP_BIN_FLOAT) - {{ SC_(15.25), ldexp(T(1), -1074), SC_(-5.55960167798850683070863439793e+4945)}}, + {{ SC_(15.25), ldexp(T(1), -1074), SC_(-5.5596016779885068307086343979332299344658725430873e+4945)}}, #else {{ SC_(15.25), ldexp(T(1), -1074), -std::numeric_limits::infinity() }}, #endif diff --git a/test/test_binomial_coeff.hpp b/test/test_binomial_coeff.hpp index 778bce962..d42df0573 100644 --- a/test/test_binomial_coeff.hpp +++ b/test/test_binomial_coeff.hpp @@ -105,7 +105,7 @@ void test_binomial(T, const char* type_name) BOOST_IF_CONSTEXPR(std::numeric_limits::max_exponent10 > 4946) { if (!std::is_floating_point::value) - tolerance *= 10; + tolerance *= 15; BOOST_CHECK_CLOSE_FRACTION(boost::math::binomial_coefficient(16441, 8151), SC_(5.928641856224322477306131563286843903129818155323061805272e4946), tolerance); } else BOOST_IF_CONSTEXPR(std::numeric_limits::has_infinity && (std::numeric_limits::max_exponent10 < 4950))