Searched refs:maxf (Results 1 – 1 of 1) sorted by relevance
224 static const float maxf = static_cast<float>(max); in unorm() local236 return static_cast<unsigned int>(maxf * x + 0.5f); in unorm()245 static const float maxf = static_cast<float>(max); in snorm() local256 return static_cast<int>(maxf * x + 0.5f); in snorm()267 return static_cast<int>(maxf * x - 0.5f) & range; in snorm()276 static const float maxf = static_cast<float>(max); in ucast() local278 if(x >= maxf) in ucast()297 static const float maxf = static_cast<float>(max); in scast() local302 if(x >= maxf) in scast()308 return static_cast<int>(maxf * x + 0.5f); in scast()[all …]