Home
last modified time | relevance | path

Searched refs:AlmostDequalUlps (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/pathops/
DSkPathOpsTypes.cpp117 bool AlmostDequalUlps(float a, float b) { in AlmostDequalUlps() function
122 bool AlmostDequalUlps(double a, double b) { in AlmostDequalUlps() function
124 return AlmostDequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostDequalUlps()
DSkPathOpsCubic.cpp436 if (AlmostDequalUlps(s[i], 1)) { in RootsReal()
468 if (!AlmostDequalUlps(s[0], r)) { in RootsReal()
472 if (!AlmostDequalUlps(s[0], r) && (roots - s == 1 || !AlmostDequalUlps(s[1], r))) { in RootsReal()
487 if (AlmostDequalUlps((double) R2, (double) Q3)) { in RootsReal()
489 if (!AlmostDequalUlps(s[0], r)) { in RootsReal()
DSkPathOpsPoint.h166 return AlmostDequalUlps(largest, largest + dist); // is the dist within ULPS tolerance? in approximatelyDEqual()
209 return AlmostDequalUlps((double) largest, largest + dist); // is dist within ULPS tolerance? in ApproximatelyEqual()
DSkPathOpsQuad.cpp173 if (!AlmostDequalUlps(p2, q) && p2 < q) { in RootsReal()
182 return 1 + !AlmostDequalUlps(s[0], s[1]); in RootsReal()
DSkPathOpsTypes.h252 bool AlmostDequalUlps(float a, float b);
253 bool AlmostDequalUlps(double a, double b);