Searched defs:iround (Results 1 - 3 of 3) sorted by relevance
/external/chromium_org/third_party/angle/src/common/ |
H A D | utilities.h | 44 template <typename outT> outT iround(GLfloat value) { return static_cast<outT>(value > 0.0f ? floor(value + 0.5f) : ceil(value - 0.5f)); } function in namespace:gl
|
/external/chromium_org/third_party/skia/tests/ |
H A D | MathTest.cpp | 337 int iround = SkMulDiv255Round(a, b); local 340 REPORTER_ASSERT(reporter, iround == round); 343 REPORTER_ASSERT(reporter, itrunc <= iround); 344 REPORTER_ASSERT(reporter, iround <= a); 345 REPORTER_ASSERT(reporter, iround <= b);
|
/external/skia/tests/ |
H A D | MathTest.cpp | 339 int iround = SkMulDiv255Round(a, b); local 342 REPORTER_ASSERT(reporter, iround == round); 345 REPORTER_ASSERT(reporter, itrunc <= iround); 346 REPORTER_ASSERT(reporter, iround <= a); 347 REPORTER_ASSERT(reporter, iround <= b);
|
Completed in 129 milliseconds