Searched refs:AlmostDequalUlps (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsTypes.cpp | 100 bool AlmostDequalUlps(float a, float b) { in AlmostDequalUlps() function 105 bool AlmostDequalUlps(double a, double b) { in AlmostDequalUlps() function 107 return AlmostDequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostDequalUlps()
|
D | SkPathOpsCubic.cpp | 401 if (AlmostDequalUlps(s[i], 1)) { in RootsReal() 432 if (!AlmostDequalUlps(s[0], r)) { in RootsReal() 436 if (!AlmostDequalUlps(s[0], r) && (roots - s == 1 || !AlmostDequalUlps(s[1], r))) { in RootsReal() 451 if (AlmostDequalUlps((double) R2, (double) Q3)) { in RootsReal() 453 if (!AlmostDequalUlps(s[0], r)) { in RootsReal()
|
D | SkPathOpsQuad.cpp | 132 if (!AlmostDequalUlps(p2, q) && p2 < q) { in RootsReal() 141 return 1 + !AlmostDequalUlps(s[0], s[1]); in RootsReal()
|
D | SkPathOpsTypes.h | 150 bool AlmostDequalUlps(float a, float b); 151 bool AlmostDequalUlps(double a, double b);
|