MathTest.cpp | 111 int iix = SkFloatToIntCast(x); local 112 assert_float_equal(reporter, "cast", x, ix, iix); 117 int iix = SkFloatToIntFloor(x); local 118 assert_float_equal(reporter, "floor", x, ix, iix); 124 int iix = SkFloatToIntRound(x); local 125 assert_float_equal(reporter, "round", x, ix, iix); 130 int iix = SkFloatToIntCeil(x); local 131 assert_float_equal(reporter, "ceil", x, ix, iix);
|