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