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 | 174 bool RoughlyEqualUlps(float a, float b); 175 inline bool RoughlyEqualUlps(double a, double b) { in RoughlyEqualUlps() function 176 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in RoughlyEqualUlps()
|
D | SkPathOpsTypes.cpp | 127 bool RoughlyEqualUlps(float a, float b) { in RoughlyEqualUlps() function
|
D | SkPathOpsLine.cpp | 103 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
|
/external/skia/tests/ |
D | PathOpsTypesTest.cpp | 18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); in DEF_TEST()
|