Home
last modified time | relevance | path

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

/external/skqp/src/pathops/
DSkPathOpsPoint.h153 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) { in approximatelyDEqual()
173 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) { in approximatelyEqual()
193 if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) { in ApproximatelyEqual()
241 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in roughlyEqual()
245 if (!RoughlyEqualUlps(a.fX, b.fX) && !RoughlyEqualUlps(a.fY, b.fY)) { in RoughlyEqual()
255 return RoughlyEqualUlps((double) largest, largest + dist); // is dist within ULPS tolerance? in RoughlyEqual()
DSkPathOpsTypes.h281 bool RoughlyEqualUlps(float a, float b);
282 inline bool RoughlyEqualUlps(double a, double b) { in RoughlyEqualUlps() function
283 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in RoughlyEqualUlps()
DSkPathOpsLine.cpp78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
DSkPathOpsTypes.cpp159 bool RoughlyEqualUlps(float a, float b) { in RoughlyEqualUlps() function
/external/skia/src/pathops/
DSkPathOpsPoint.h159 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) { in approximatelyDEqual()
179 if (!RoughlyEqualUlps(fX, a.fX) || !RoughlyEqualUlps(fY, a.fY)) { in approximatelyEqual()
199 if (!RoughlyEqualUlps(a.fX, b.fX) || !RoughlyEqualUlps(a.fY, b.fY)) { in ApproximatelyEqual()
247 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in roughlyEqual()
251 if (!RoughlyEqualUlps(a.fX, b.fX) && !RoughlyEqualUlps(a.fY, b.fY)) { in RoughlyEqual()
261 return RoughlyEqualUlps((double) largest, largest + dist); // is dist within ULPS tolerance? in RoughlyEqual()
DSkPathOpsTypes.h281 bool RoughlyEqualUlps(float a, float b);
282 inline bool RoughlyEqualUlps(double a, double b) { in RoughlyEqualUlps() function
283 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in RoughlyEqualUlps()
DSkPathOpsLine.cpp78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
DSkPathOpsTypes.cpp159 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()
/external/skqp/tests/
DPathOpsTypesTest.cpp18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); in DEF_TEST()