Searched refs:maxf (Results 1 – 1 of 1) sorted by relevance
237 static const float maxf = static_cast<float>(max); in unorm() local249 return static_cast<unsigned int>(maxf * x + 0.5f); in unorm()258 static const float maxf = static_cast<float>(max); in snorm() local269 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() local291 if(x >= maxf) in ucast()310 static const float maxf = static_cast<float>(max); in scast() local316 if(x >= maxf) in scast()