Searched refs:RoughlyEqualUlps (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 137 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) { in approximatelyEqual() 157 if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) { in ApproximatelyEqual() 205 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in roughlyEqual() 209 if (!RoughlyEqualUlps(a.fX, b.fX) && !RoughlyEqualUlps(a.fY, b.fY)) { in RoughlyEqual() 219 return RoughlyEqualUlps((double) largest, largest + dist); // is dist within ULPS tolerance? in RoughlyEqual()
|
D | SkPathOpsTypes.h | 205 bool RoughlyEqualUlps(float a, float b); 206 inline bool RoughlyEqualUlps(double a, double b) { in RoughlyEqualUlps() function 207 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in RoughlyEqualUlps()
|
D | SkPathOpsLine.cpp | 78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
|
D | SkPathOpsTypes.cpp | 143 bool RoughlyEqualUlps(float a, float b) { in RoughlyEqualUlps() function
|
/external/skia/tests/ |
D | PathOpsTypesTest.cpp | 18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); in DEF_TEST()
|