We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d81050 commit 4ed4b02Copy full SHA for 4ed4b02
test/test_cmath.cpp
@@ -802,6 +802,8 @@ void test_lrint()
802
// Difference in rounding mode at 0.5
803
if (abs(ret_dec) == abs(ret_val) + 1)
804
{
805
+ // LCOV_EXCL_START
806
+
807
float iptr;
808
const auto frac = std::modf(val1, &iptr);
809
if (abs(abs(frac) - 0.5F) < 0.01F)
@@ -810,11 +812,11 @@ void test_lrint()
810
812
}
811
813
else
814
- // LCOV_EXCL_START
815
std::cerr << "Frac: " << frac
816
<< "\nDist: " << std::fabs(frac - 0.5F) / std::numeric_limits<float>::epsilon() << std::endl;
- // LCOV_EXCL_STOP
817
818
819
+ // LCOV_EXCL_STOP
820
821
822
if (!BOOST_TEST_EQ(ret_val, ret_dec))
0 commit comments