diff options
author | 2013-07-18 19:11:30 +0000 | |
---|---|---|
committer | 2013-07-18 19:11:30 +0000 | |
commit | 25a11e48e54b0d3895a69228090f1455131db987 (patch) | |
tree | 06c0bf040087d1d044924c17c408a0a52f15f0f8 /include/core/SkFixed.h | |
parent | 114cfbd10ec2d91aa60fcc60a795c45d5b8345ae (diff) |
Add bench to test float to fixed conversion
R=reed@google.com
Review URL: https://codereview.chromium.org/19773006
git-svn-id: http://skia.googlecode.com/svn/trunk@10155 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkFixed.h')
-rw-r--r-- | include/core/SkFixed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkFixed.h b/include/core/SkFixed.h index ba2479a538..abeeccce10 100644 --- a/include/core/SkFixed.h +++ b/include/core/SkFixed.h @@ -192,7 +192,7 @@ inline bool SkFixedNearlyZero(SkFixed x, SkFixed tolerance = SK_FixedNearlyZero) #if defined(SK_CPU_ARM) && !defined(__thumb__) /* This guy does not handle NaN or other obscurities, but is faster than - than (int)(x*65536) when we only have software floats + than (int)(x*65536) */ inline SkFixed SkFloatToFixed_arm(float x) { |