Searched refs:maxvalue (Results 1 – 1 of 1) sorted by relevance
86 static void ClipToRange(T* ptr, V minvalue, V maxvalue) { in ClipToRange() argument87 if (static_cast<V>(*ptr) > maxvalue) *ptr = maxvalue; in ClipToRange()