Lines Matching refs:kTolerance
56 static double const kTolerance = numeric_limits<double>::epsilon() * 10; variable
72 if (fabs(norm2 - 1.0) > kTolerance) {
94 if (fabs(arg[i] - expected[i]) > kTolerance) {
106 if (fabs(arg[i] + expected[i]) > kTolerance) {
140 if (fabs(arg[i] - expected[i]) > kTolerance) {
165 if (fabs(expected - v) > kTolerance) {
188 if (fabs(arg[i] - expected[i]) > kTolerance) {
646 return absdiff <= kTolerance; in IsClose()
649 return reldiff <= kTolerance; in IsClose()
824 ExpectArraysClose(9, Q[0], Rq[0], kTolerance); in TEST()
828 ExpectArraysClose(9, R[0], Rq[0], kTolerance); in TEST()
854 ExpectArraysClose(3, result1, result2, kTolerance); in TEST()
879 ASSERT_NEAR(ab_c[0], a_bc[0], kTolerance); in TEST()
880 ASSERT_NEAR(ab_c[1], a_bc[1], kTolerance); in TEST()
881 ASSERT_NEAR(ab_c[2], a_bc[2], kTolerance); in TEST()
882 ASSERT_NEAR(ab_c[3], a_bc[3], kTolerance); in TEST()
917 kTolerance) << "p: " << p[0] in TEST()
958 kTolerance) << "p: " << p[0] in TEST()