Searched refs:AlmostDequalUlps (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/src/pathops/ |
D | SkPathOpsTypes.cpp | 117 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()
|
D | SkPathOpsCubic.cpp | 436 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()
|
D | SkPathOpsPoint.h | 166 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()
|
D | SkPathOpsQuad.cpp | 173 if (!AlmostDequalUlps(p2, q) && p2 < q) { in RootsReal() 182 return 1 + !AlmostDequalUlps(s[0], s[1]); in RootsReal()
|
D | SkPathOpsTypes.h | 252 bool AlmostDequalUlps(float a, float b); 253 bool AlmostDequalUlps(double a, double b);
|