Home
last modified time | relevance | path

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

/external/swiftshader/src/Common/
DMath.hpp237 static const float maxf = static_cast<float>(max); in unorm() local
249 return static_cast<unsigned int>(maxf * x + 0.5f); in unorm()
258 static const float maxf = static_cast<float>(max); in snorm() local
269 return static_cast<int>(maxf * x + 0.5f); in snorm()
280 return static_cast<int>(maxf * x - 0.5f) & range; in snorm()
289 static const float maxf = static_cast<float>(max); in ucast() local
291 if(x >= maxf) in ucast()
310 static const float maxf = static_cast<float>(max); in scast() local
316 if(x >= maxf) in scast()