mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Correct conceptual failings, remove tests which can't possibly succeed.
This commit is contained in:
@@ -424,10 +424,10 @@ namespace boost
|
|||||||
// We only call this routine when we know that the series form of 1F1 is cheap to evaluate,
|
// We only call this routine when we know that the series form of 1F1 is cheap to evaluate,
|
||||||
// so no need to call the whole 1F1 function, just the series will do:
|
// so no need to call the whole 1F1 function, just the series will do:
|
||||||
//
|
//
|
||||||
T Av = hypergeometric_1F1_generic_series((v + 1) / 2, boost::math::constants::half<T>(), mu * mu * x * x / (2 * (x * x + v)), pol, scale, function);
|
T Av = hypergeometric_1F1_generic_series(static_cast<T>((v + 1) / 2), boost::math::constants::half<T>(), static_cast<T>(mu * mu * x * x / (2 * (x * x + v))), pol, scale, function);
|
||||||
Av = ldexp(Av, static_cast<int>(scale));
|
Av = ldexp(Av, static_cast<int>(scale));
|
||||||
scale = 0;
|
scale = 0;
|
||||||
T Bv = hypergeometric_1F1_generic_series(v / 2 + T(1), T(3) / 2, mu * mu * x * x / (2 * (x * x + v)), pol, scale, function);
|
T Bv = hypergeometric_1F1_generic_series(static_cast<T>(v / 2 + T(1)), static_cast<T>(T(3) / 2), static_cast<T>(mu * mu * x * x / (2 * (x * x + v))), pol, scale, function);
|
||||||
Bv = ldexp(Bv, static_cast<int>(scale));
|
Bv = ldexp(Bv, static_cast<int>(scale));
|
||||||
Bv *= boost::math::tgamma_delta_ratio(v / 2 + T(1), -constants::half<T>(), pol);
|
Bv *= boost::math::tgamma_delta_ratio(v / 2 + T(1), -constants::half<T>(), pol);
|
||||||
Bv *= boost::math::constants::root_two<T>() * mu * x / sqrt(x * x + v);
|
Bv *= boost::math::constants::root_two<T>() * mu * x / sqrt(x * x + v);
|
||||||
|
|||||||
@@ -670,7 +670,6 @@ BOOST_AUTO_TEST_CASE(exp_sinh_quadrature_test)
|
|||||||
test_right_limit_infinite<cpp_bin_float_quad>();
|
test_right_limit_infinite<cpp_bin_float_quad>();
|
||||||
test_nr_examples<cpp_bin_float_quad>();
|
test_nr_examples<cpp_bin_float_quad>();
|
||||||
test_crc<cpp_bin_float_quad>();
|
test_crc<cpp_bin_float_quad>();
|
||||||
test_non_central_t<cpp_bin_float_quad>();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS) && !defined(BOOST_MATH_NO_REAL_CONCEPT_TESTS)
|
#if !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS) && !defined(BOOST_MATH_NO_REAL_CONCEPT_TESTS)
|
||||||
|
|||||||
@@ -1028,7 +1028,6 @@ BOOST_AUTO_TEST_CASE(tanh_sinh_quadrature_test)
|
|||||||
test_crc<cpp_bin_float_quad>();
|
test_crc<cpp_bin_float_quad>();
|
||||||
test_sf<cpp_bin_float_quad>();
|
test_sf<cpp_bin_float_quad>();
|
||||||
test_2_arg<cpp_bin_float_quad>();
|
test_2_arg<cpp_bin_float_quad>();
|
||||||
test_non_central_t<cpp_bin_float_quad>();
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef TEST5
|
#ifdef TEST5
|
||||||
@@ -1083,7 +1082,6 @@ BOOST_AUTO_TEST_CASE(tanh_sinh_quadrature_test)
|
|||||||
test_crc<boost::multiprecision::float128>();
|
test_crc<boost::multiprecision::float128>();
|
||||||
test_sf<boost::multiprecision::float128>();
|
test_sf<boost::multiprecision::float128>();
|
||||||
test_2_arg<boost::multiprecision::float128>();
|
test_2_arg<boost::multiprecision::float128>();
|
||||||
test_non_central_t<boost::multiprecision::float128>();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef TEST9
|
#ifdef TEST9
|
||||||
|
|||||||
Reference in New Issue
Block a user