diff --git a/test/test_beta.cpp b/test/test_beta.cpp index 3545da4b4..4b5a2a0c8 100644 --- a/test/test_beta.cpp +++ b/test/test_beta.cpp @@ -80,14 +80,14 @@ void expected_results() ".*", // platform "(long\\s+)?double", // test type(s) "Beta Function: Medium.*", // test data group - "boost::math::beta", 130, 35); // test function + "boost::math::beta", 160, 35); // test function add_expected_result( ".*", // compiler ".*", // stdlib ".*", // platform "(long\\s+)?double", // test type(s) "Beta Function: Divergent.*", // test data group - "boost::math::beta", 20, 6); // test function + "boost::math::beta", 30, 6); // test function add_expected_result( ".*", // compiler ".*", // stdlib diff --git a/test/test_beta_dist.cpp b/test/test_beta_dist.cpp index f863196a4..1a90e582d 100644 --- a/test/test_beta_dist.cpp +++ b/test/test_beta_dist.cpp @@ -131,7 +131,7 @@ void test_spots(RealType) cout << "std::numeric_limits::epsilon = " << std::numeric_limits::epsilon() <() * 10; diff --git a/test/test_binomial_coeff.cpp b/test/test_binomial_coeff.cpp index b2278f970..b946f8039 100644 --- a/test/test_binomial_coeff.cpp +++ b/test/test_binomial_coeff.cpp @@ -69,14 +69,14 @@ void expected_results() ".*", // platform "real_concept", // test type(s) ".*large.*", // test data group - ".*", 200, 100); // test function + ".*", 250, 100); // test function add_expected_result( ".*", // compiler ".*", // stdlib ".*", // platform "real_concept", // test type(s) ".*", // test data group - ".*", 100, 30); // test function + ".*", 150, 30); // test function add_expected_result( ".*", // compiler ".*", // stdlib diff --git a/test/test_factorials.cpp b/test/test_factorials.cpp index b362405e7..3a5d63312 100644 --- a/test/test_factorials.cpp +++ b/test/test_factorials.cpp @@ -140,7 +140,7 @@ void test_spots(T) static_cast(3.35010902064291983728782493133164809108646650368560147505884e-27L), tolerance); BOOST_CHECK_CLOSE( ::boost::math::rising_factorial(static_cast(-30.25), 21), - static_cast(-9.76168312768123676601980433377916854311706629232503473758698e26L), tolerance); + static_cast(-9.76168312768123676601980433377916854311706629232503473758698e26L), tolerance * 2); BOOST_CHECK_CLOSE( ::boost::math::rising_factorial(static_cast(-30.25), -21), static_cast(-1.50079704000923674318934280259377728203516775215430875839823e-34L), 2 * tolerance); diff --git a/test/test_ibeta.cpp b/test/test_ibeta.cpp index 739ef8818..86d33e01e 100644 --- a/test/test_ibeta.cpp +++ b/test/test_ibeta.cpp @@ -230,7 +230,7 @@ void expected_results() "[^|]*", // platform largest_type, // test type(s) "(?i).*small.*", // test data group - ".*", 60, 10); // test function + ".*", 90, 25); // test function add_expected_result( "[^|]*", // compiler "[^|]*", // stdlib @@ -252,7 +252,7 @@ void expected_results() "[^|]*", // platform "real_concept", // test type(s) "(?i).*small.*", // test data group - ".*", 60, 15); // test function + ".*", 90, 25); // test function add_expected_result( "[^|]*", // compiler "[^|]*", // stdlib diff --git a/test/test_igamma.cpp b/test/test_igamma.cpp index a60dc8043..a47e5d1d7 100644 --- a/test/test_igamma.cpp +++ b/test/test_igamma.cpp @@ -93,7 +93,7 @@ void expected_results() "linux", // platform "real_concept", // test type(s) "[^|]*medium[^|]*", // test data group - "[^|]*", 600, 200); // test function + "[^|]*", 1000, 200); // test function add_expected_result( "[^|]*", // compiler "[^|]*", // stdlib diff --git a/test/test_logistic_dist.cpp b/test/test_logistic_dist.cpp index bc881cbbf..04d1a47d5 100644 --- a/test/test_logistic_dist.cpp +++ b/test/test_logistic_dist.cpp @@ -52,7 +52,7 @@ void test_spot(RealType location, RealType scale, RealType x, RealType p, RealTy complement(logistic_distribution(location,scale), q)), x, - tolerance); // % + 2 * tolerance); // % } } diff --git a/test/test_nc_beta.cpp b/test/test_nc_beta.cpp index ec3965891..03879b580 100644 --- a/test/test_nc_beta.cpp +++ b/test/test_nc_beta.cpp @@ -107,14 +107,14 @@ void expected_results() "[^|]*", // platform largest_type, // test type(s) "[^|]*medium[^|]*", // test data group - "[^|]*", 900, 500); // test function + "[^|]*", 1200, 500); // test function add_expected_result( "[^|]*", // compiler "[^|]*", // stdlib "[^|]*", // platform largest_type, // test type(s) "[^|]*large[^|]*", // test data group - "[^|]*", 40000, 5500); // test function + "[^|]*", 40000, 6000); // test function } #endif // diff --git a/test/test_negative_binomial.cpp b/test/test_negative_binomial.cpp index ec4b1130b..984d169a9 100644 --- a/test/test_negative_binomial.cpp +++ b/test/test_negative_binomial.cpp @@ -197,7 +197,7 @@ void test_spots(RealType) RealType tolerance = (std::max) (boost::math::tools::epsilon(), static_cast(std::numeric_limits::epsilon())); - tolerance *= 100 * 1000; + tolerance *= 100 * 100000.0f; cout << "Tolerance = " << tolerance << "%." << endl; diff --git a/test/test_policy.cpp b/test/test_policy.cpp index a9104bdbb..c8dc4ca40 100644 --- a/test/test_policy.cpp +++ b/test/test_policy.cpp @@ -9,6 +9,7 @@ #include #include #include // for test_main +#include template bool check_same(const P1&, const P2&) diff --git a/test/test_policy_2.cpp b/test/test_policy_2.cpp index 224379d0d..b3055a692 100644 --- a/test/test_policy_2.cpp +++ b/test/test_policy_2.cpp @@ -9,6 +9,7 @@ #include #include #include // for test_main +#include template bool check_same(const P1&, const P2&) diff --git a/test/test_policy_3.cpp b/test/test_policy_3.cpp index a25466cbc..e6d3bf39a 100644 --- a/test/test_policy_3.cpp +++ b/test/test_policy_3.cpp @@ -9,6 +9,7 @@ #include #include #include // for test_main +#include template bool check_same(const P1&, const P2&) diff --git a/test/test_policy_4.cpp b/test/test_policy_4.cpp index 41d741c28..9189ac2bf 100644 --- a/test/test_policy_4.cpp +++ b/test/test_policy_4.cpp @@ -9,6 +9,7 @@ #include #include #include // for test_main +#include template bool check_same(const P1&, const P2&) diff --git a/test/test_policy_5.cpp b/test/test_policy_5.cpp index bf16fc988..efc328464 100644 --- a/test/test_policy_5.cpp +++ b/test/test_policy_5.cpp @@ -9,6 +9,7 @@ #include #include #include // for test_main +#include template bool check_same(const P1&, const P2&) diff --git a/test/test_policy_6.cpp b/test/test_policy_6.cpp index 774781226..2d0dd79a6 100644 --- a/test/test_policy_6.cpp +++ b/test/test_policy_6.cpp @@ -9,6 +9,7 @@ #include #include #include // for test_main +#include template bool check_same(const P1&, const P2&)