2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Update error rates for Apple M1 machines.

Fixes https://github.com/boostorg/math/issues/724
This commit is contained in:
jzmaddock
2021-12-12 16:56:38 +00:00
parent 181831c0ab
commit ddd51d0e1c
3 changed files with 9 additions and 1 deletions

View File

@@ -58,7 +58,11 @@ void expected_results()
"Mac OS", // platform
largest_type, // test type(s)
".*", // test data group
#ifdef __arm__
".*", 4000, 1500); // test function
#else
".*", 3500, 1500); // test function
#endif
//
// G++ on Linux, results vary a bit by processor type,
// on Itanium results are *much* better than listed here,

View File

@@ -143,7 +143,11 @@ void expected_results()
"Mac OS", // platform
largest_type, // test type(s)
".*J1.*Tricky.*", // test data group
#ifdef __arm__
".*", 4000000, 2000000); // test function
#else
".*", 3000000, 2000000); // test function
#endif
add_expected_result(
".*", // compiler
".*", // stdlib

View File

@@ -299,7 +299,7 @@ BOOST_AUTO_TEST_CASE( test_main )
result = ibeta_small_data[i][2];
dr = boost::math::tools::halley_iterate(ibeta_roots_3<double, boost::math::policies::policy<> >(ibeta_small_data[i][0], ibeta_small_data[i][1], ibeta_small_data[i][5]), 0.5, 0.0, 1.0, 53, iters);
BOOST_CHECK_CLOSE_FRACTION(dr, result, std::numeric_limits<double>::epsilon() * 200);
#ifdef __PPC__
#if defined(__PPC__) || defined(__arm__)
BOOST_CHECK_LE(iters, 55);
#else
BOOST_CHECK_LE(iters, 40);