Index: src/pathops/SkPathOpsTypes.h |
diff --git a/src/pathops/SkPathOpsTypes.h b/src/pathops/SkPathOpsTypes.h |
index 0ad10c2eba5cb6fe9af1c83e3ab9dcbab8f9b876..4fa86abd91bceee7b112a65c80bb305003246970 100644 |
--- a/src/pathops/SkPathOpsTypes.h |
+++ b/src/pathops/SkPathOpsTypes.h |
@@ -50,6 +50,11 @@ inline bool AlmostBequalUlps(double a, double b) { |
return AlmostBequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); |
} |
+bool AlmostPequalUlps(float a, float b); |
+inline bool AlmostPequalUlps(double a, double b) { |
+ return AlmostPequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); |
+} |
+ |
bool RoughlyEqualUlps(float a, float b); |
inline bool RoughlyEqualUlps(double a, double b) { |
return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); |