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

/external/skia/tests/
H A DPathOpsTypesTest.cpp18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]);
/external/skia/src/pathops/
H A DSkPathOpsPoint.h137 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) {
157 if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) {
205 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance?
209 if (!RoughlyEqualUlps(a.fX, b.fX) && !RoughlyEqualUlps(a.fY, b.fY)) {
219 return RoughlyEqualUlps((double) largest, largest + dist); // is dist within ULPS tolerance?
H A DSkPathOpsTypes.h205 bool RoughlyEqualUlps(float a, float b);
206 inline bool RoughlyEqualUlps(double a, double b) { function
207 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b));
H A DSkPathOpsLine.cpp78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance?
H A DSkPathOpsTypes.cpp143 bool RoughlyEqualUlps(float a, float b) { function

Completed in 209 milliseconds