Searched refs:nearly_zero (Results 1 – 4 of 4) sorted by relevance
39 static inline bool nearly_zero(SkScalar x) { in nearly_zero() function168 if (nearly_zero(x) || nearly_zero(1 - x)) { in computeYFromX()
187 static inline bool nearly_zero(double x, double tolerance = kNearlyZero) { in nearly_zero() function207 return nearly_zero((pts[1].y() - pts[0].y()) * (pts[1].x() - pts[2].x()) - in is_colinear()509 nearly_zero(c, tol)) { in precomputation_for_row()