diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-04 19:41:13 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-04 19:41:13 +0000 |
commit | 6d0032a8ec680221c2a704cac2391f2a2d77546f (patch) | |
tree | e8bf1cf1ca5917daa4e7062243cec58cfb6c0ff3 /experimental/Intersection/DataTypes.h | |
parent | d96d17b9c113ac694138224249ff2ce643e961dd (diff) |
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@7031 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/Intersection/DataTypes.h')
-rw-r--r-- | experimental/Intersection/DataTypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/experimental/Intersection/DataTypes.h b/experimental/Intersection/DataTypes.h index 33d88fa007..265e3b769c 100644 --- a/experimental/Intersection/DataTypes.h +++ b/experimental/Intersection/DataTypes.h @@ -19,6 +19,8 @@ #include <sys/types.h> extern bool AlmostEqualUlps(float A, float B); +inline bool AlmostEqualUlps(double A, double B) { return AlmostEqualUlps((float) A, (float) B); } + // FIXME: delete int UlpsDiff(float A, float B); int FloatAsInt(float A); |