Lines Matching refs:max
31 #undef max
34 inline T max(T a, T b) in max() function
46 inline T max(T a, T b, T c) in max() function
48 return max(max(a, b), c); in max()
58 inline T max(T a, T b, T c, T d) in max() function
60 return max(max(a, b), max(c, d)); in max()
210 inline float clamp_s(float x, float min, float max) in clamp_s() argument
214 if(float_as_twos_complement(x) > float_as_twos_complement(max)) x = max; in clamp_s()
256 static const unsigned int max = 0xFFFFFFFF >> (32 - n); in unorm() local
257 static const float maxf = static_cast<float>(max); in unorm()
261 return max; in unorm()
277 static const unsigned int max = 0xFFFFFFFF >> (32 - n + 1); in snorm() local
278 static const float maxf = static_cast<float>(max); in snorm()
285 return max; in snorm()
308 static const unsigned int max = 0xFFFFFFFF >> (32 - n); in ucast() local
309 static const float maxf = static_cast<float>(max); in ucast()
313 return max; in ucast()
329 static const unsigned int max = 0xFFFFFFFF >> (32 - n + 1); in scast() local
330 static const float maxf = static_cast<float>(max); in scast()
338 return max; in scast()