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()
104 DE_INLINE double deRound (double a) { return floor(a + 0.5); } in deRound() function
850 expected = static_cast<deUint32>(deRound(reference * 1023.0)); in expectedUint10()870 expected = static_cast<deUint32>(deRound(reference * 3.0)); in expectedUint2()905 expected = static_cast<deUint8>(deRound(srgbReference * 255.0)); in expectedUint8()909 expected = static_cast<deUint8>(deRound(reference * 255.0)); in expectedUint8()934 expected = static_cast<deUint8>(deRound(reference * 255.0)); in expectedAlpha8()
12332 case 0: result = deRound(d); break; in calc()