Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: include/core/SkFixed.h

Issue 19773006: Add bench to test float to fixed conversion (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/MathBench.cpp ('k') | src/core/SkCordic.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkFixed.h
diff --git a/include/core/SkFixed.h b/include/core/SkFixed.h
index ba2479a5381e011359203813f15549adae665973..abeeccce10e07e92b46bc5fe9702271559ef3d11 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)
{
« no previous file with comments | « bench/MathBench.cpp ('k') | src/core/SkCordic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698