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) {
681 return absdiff <= kTolerance; in IsClose()
684 return reldiff <= kTolerance; in IsClose()
859 ExpectArraysClose(9, Q[0], Rq[0], kTolerance); in TEST()
863 ExpectArraysClose(9, R[0], Rq[0], kTolerance); in TEST()
889 ExpectArraysClose(3, result1, result2, kTolerance); in TEST()
914 ASSERT_NEAR(ab_c[0], a_bc[0], kTolerance); in TEST()
915 ASSERT_NEAR(ab_c[1], a_bc[1], kTolerance); in TEST()
916 ASSERT_NEAR(ab_c[2], a_bc[2], kTolerance); in TEST()
917 ASSERT_NEAR(ab_c[3], a_bc[3], kTolerance); in TEST()
952 kTolerance) << "p: " << p[0] in TEST()
993 kTolerance) << "p: " << p[0] in TEST()