Home
last modified time | relevance | path

Searched refs:sqrtMax (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DSafeMathTest.cpp35 size_t sqrtMax = max >> halfBits; in DEF_TEST() local
36 size_t sqrtMaxPlus1 = sqrtMax + 1; in DEF_TEST()
38 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMax) == sqrtMax * sqrtMax); in DEF_TEST()
40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()
/external/skqp/tests/
DSafeMathTest.cpp35 size_t sqrtMax = max >> halfBits; in DEF_TEST() local
36 size_t sqrtMaxPlus1 = sqrtMax + 1; in DEF_TEST()
38 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMax) == sqrtMax * sqrtMax); in DEF_TEST()
40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()