Searched refs:RoughlyEqualUlps (Results 1 – 10 of 10) sorted by relevance
/external/skqp/src/pathops/ |
D | SkPathOpsPoint.h | 153 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()
|
D | SkPathOpsTypes.h | 281 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()
|
D | SkPathOpsLine.cpp | 78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
|
D | SkPathOpsTypes.cpp | 159 bool RoughlyEqualUlps(float a, float b) { in RoughlyEqualUlps() function
|
/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 159 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()
|
D | SkPathOpsTypes.h | 281 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()
|
D | SkPathOpsLine.cpp | 78 return RoughlyEqualUlps(largest, largest + dist); // is the dist within ULPS tolerance? in nearRay()
|
D | SkPathOpsTypes.cpp | 159 bool RoughlyEqualUlps(float a, float b) { in RoughlyEqualUlps() function
|
/external/skia/tests/ |
D | PathOpsTypesTest.cpp | 18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); in DEF_TEST()
|
/external/skqp/tests/ |
D | PathOpsTypesTest.cpp | 18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]); in DEF_TEST()
|