Home
last modified time | relevance | path

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

/external/swiftshader/src/System/
DHalf.hpp62 constexpr int g_sharedexp_bias = 15; in RGB9E5() local
73 static_cast<float>(1 << (g_sharedexp_maxexponent - g_sharedexp_bias)); in RGB9E5()
81 std::max<float>(-g_sharedexp_bias - 1, floor(log(max_c))) + 1 + g_sharedexp_bias; in RGB9E5()
83 floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
88 floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
90 floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
92 floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()