We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1055f18 commit 54c3fb1Copy full SHA for 54c3fb1
2 files changed
test/test_cmath.cpp
@@ -978,7 +978,7 @@ void test_nearbyint()
978
// Float goes to even while decimal is to nearest from zero
979
float iptr {};
980
const auto frac {std::modf(val1, &iptr)};
981
- if (std::abs(frac) <= 0.5F && std::abs(frac) >= 0.49F)
+ if (std::abs(frac) <= 0.51F && std::abs(frac) >= 0.49F)
982
{
983
continue;
984
}
test/test_erf.cpp
@@ -566,7 +566,7 @@ void test_erfc()
566
const auto dec_res {static_cast<float_type>(erfc(dec_val))};
567
const auto distance {boost::math::float_distance(float_res, dec_res)};
568
569
- if (!BOOST_TEST(distance < 150))
+ if (!BOOST_TEST(distance < 200))
570
571
// LCOV_EXCL_START
572
std::cerr << " Val: " << val
0 commit comments