mirror of
https://github.com/boostorg/math.git
synced 2026-02-18 02:02:15 +00:00
Hypergeometric: Begin fixing errors from large params in 1F1
This commit is contained in:
@@ -64,13 +64,13 @@ BOOST_AUTO_TEST_CASE( test_main )
|
||||
#endif
|
||||
test_spots(0.0, "double");
|
||||
#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
|
||||
test_spots(0.0L, "long double");
|
||||
//test_spots(0.0L, "long double");
|
||||
#ifndef BOOST_MATH_NO_REAL_CONCEPT_TESTS
|
||||
test_spots(boost::math::concepts::real_concept(0.1), "real_concept");
|
||||
//test_spots(boost::math::concepts::real_concept(0.1), "real_concept");
|
||||
#endif
|
||||
#endif
|
||||
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
|
||||
test_spots(dec_40(), "dec_40");
|
||||
//test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
|
||||
//test_spots(dec_40(), "dec_40");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -68,9 +68,18 @@ void test_spots1(T, const char* type_name)
|
||||
do_test_2F0<T>(hypergeometric_1f1_small_random, type_name, "Small random values");
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void test_spots2(T, const char* type_name)
|
||||
{
|
||||
#include "hypergeometric_1f1_big.ipp"
|
||||
|
||||
do_test_2F0<T>(hypergeometric_1f1_big, type_name, "Large random values");
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void test_spots(T z, const char* type_name)
|
||||
{
|
||||
test_spots1(z, type_name);
|
||||
test_spots2(z, type_name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user