Searched refs:deRound (Results 1 – 4 of 4) sorted by relevance
134 return 2.0 * deRound(a / 2.0); in deRoundEven()135 return deRound(a); in deRoundEven()
181 DE_INLINE double deRound (double a) { return floor(a + 0.5); } in deRound() function
851 expected = static_cast<deUint32>(deRound(reference * 1023.0)); in expectedUint10()871 expected = static_cast<deUint32>(deRound(reference * 3.0)); in expectedUint2()906 expected = static_cast<deUint8>(deRound(srgbReference * 255.0)); in expectedUint8()910 expected = static_cast<deUint8>(deRound(reference * 255.0)); in expectedUint8()935 expected = static_cast<deUint8>(deRound(reference * 255.0)); in expectedAlpha8()
14318 case 0: result = deRound(d); break; in calc()