Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsPoint.h137 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()
DSkPathOpsTypes.h205 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()
DSkPathOpsLine.cpp78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
DSkPathOpsTypes.cpp143 bool RoughlyEqualUlps(float a, float b) { in RoughlyEqualUlps() function
/external/skia/tests/
DPathOpsTypesTest.cpp18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); in DEF_TEST()