Index: src/pathops/SkPathOpsTypes.h |
diff --git a/src/pathops/SkPathOpsTypes.h b/src/pathops/SkPathOpsTypes.h |
index e8054ad476eac462311c21ca8ae48633fd841fbf..62f7e1551373f93e63723c19dc0847a60e96fee9 100644 |
--- a/src/pathops/SkPathOpsTypes.h |
+++ b/src/pathops/SkPathOpsTypes.h |
@@ -30,9 +30,7 @@ inline bool AlmostEqualUlps(double a, double b) { |
// Use Almost Dequal when comparing should not special case denormalized values. |
bool AlmostDequalUlps(float a, float b); |
-inline bool AlmostDequalUlps(double a, double b) { |
- return AlmostDequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); |
-} |
+bool AlmostDequalUlps(double a, double b); |
bool NotAlmostEqualUlps(float a, float b); |
inline bool NotAlmostEqualUlps(double a, double b) { |
@@ -370,4 +368,14 @@ inline double SkPinT(double t) { |
return precisely_less_than_zero(t) ? 0 : precisely_greater_than_one(t) ? 1 : t; |
} |
+struct SkFloat128 { |
+ int fExp; |
+ int64_t fHigh; |
+ uint64_t fLow; |
+}; |
+ |
+double SkFloat128Sub(const SkFloat128& a, const SkFloat128& b); |
+SkFloat128 SkFloat128Mul(double a, double b); |
+SkFloat128 SkFloat128Mul(SkFloat128& a, double b); |
+ |
#endif |