Home
last modified time | relevance | path

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

/external/swiftshader/src/System/
DHalf.hpp80 const float exp_p = in RGB9E5() local
83 floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
85 static_cast<int>((max_s < pow(2.0f, g_sharedexp_mantissabits)) ? exp_p : exp_p + 1); in RGB9E5()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp1425 GLfloat exp_p = deFloatMax(-B - 1, deFloatFloor(deFloatLog2(max_c))) + 1 + B; in unpack_UNSIGNED_INT_5_9_9_9_REV() local
1427 GLfloat max_s = deFloatFloor(max_c / deFloatPow(2.0f, exp_p - (float)B - (float)N) + 0.5f); in unpack_UNSIGNED_INT_5_9_9_9_REV()
1432 exp_s = exp_p; in unpack_UNSIGNED_INT_5_9_9_9_REV()
1434 exp_s = exp_p + 1; in unpack_UNSIGNED_INT_5_9_9_9_REV()