apply 10.p+32 -> (float)(1 << 23) fix from MathTest here as well
windows can't eat the former syntax
git-svn-id: http://skia.googlecode.com/svn/trunk@4070 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/MathBench.cpp b/bench/MathBench.cpp
index 41176b4..0e35940 100644
--- a/bench/MathBench.cpp
+++ b/bench/MathBench.cpp
@@ -10,7 +10,8 @@
}
static float fast_floor(float x) {
- float big = sk_fsel(x, 0x1.0p+23, -0x1.0p+23);
+// float big = sk_fsel(x, 0x1.0p+23, -0x1.0p+23);
+ float big = sk_fsel(x, (float)(1 << 23), -(float)(1 << 23));
return (x + big) - big;
}