Searched refs:deRound (Results 1 – 3 of 3) sorted by relevance
134 return 2.0 * deRound(a / 2.0); in deRoundEven()135 return deRound(a); in deRoundEven()
103 DE_INLINE double deRound (double a) { return floor(a + 0.5); } in deRound() function
828 expected = static_cast<deUint32>(deRound(reference * 1023.0)); in expectedUint10()848 expected = static_cast<deUint32>(deRound(reference * 3.0)); in expectedUint2()882 expected = static_cast<deUint8>(deRound(srgbReference * 255.0)); in expectedUint8()886 expected = static_cast<deUint8>(deRound(reference * 255.0)); in expectedUint8()906 expected = static_cast<deUint8>(deRound(reference * 255.0)); in expectedAlpha8()