Searched refs:fpRange (Results 1 – 2 of 2) sorted by relevance
119 float fpRange = fpAtol + fpRtol * std::abs(expected); in CompareResults() local121 EXPECT_NEAR(expected, actual, fpRange); in CompareResults()123 if (std::abs(expected - actual) > fpRange) { in CompareResults()155 float fpRange = fpAtol + fpRtol * std::abs(static_cast<float>(expected)); in CompareResults() local157 EXPECT_NEAR(expected, actual, fpRange); in CompareResults()159 if (std::abs(static_cast<float>(expected - actual)) > fpRange) { in CompareResults()
293 float fpRange = fpAtol + fpRtol * std::abs(expected);295 EXPECT_NEAR(expected, actual, fpRange);297 if (std::abs(expected - actual) > fpRange) {332 float fpRange = fpAtol + fpRtol * std::abs(static_cast<float>(expected));334 EXPECT_NEAR(expected, actual, fpRange);336 if (std::abs(static_cast<float>(expected - actual)) > fpRange) {