Searched refs:eBias (Results 1 – 2 of 2) sorted by relevance
1226 const int eBias = 15; in packRGB999E5() local1228 const float maxVal = (float)(((1<<mBits) - 1) * (1<<(eMax-eBias))) / (float)(1<<mBits); in packRGB999E5()1234 int expp = de::max(-eBias - 1, deFloorFloatToInt32(deFloatLog2(maxc))) + 1 + eBias; in packRGB999E5()1235 float e = deFloatPow(2.0f, (float)(expp-eBias-mBits)); in packRGB999E5()
515 const int eBias = 15; in unpackRGB999E5() local522 float e = deFloatPow(2.0f, (float)((int)exp - eBias - mBits)); in unpackRGB999E5()