Searched refs:clampedBits (Results 1 – 3 of 3) sorted by relevance
606 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError() local607 const int srcMaxValue = de::max((1<<clampedBits) - 1, 1); in calculateU8ConversionError()
1044 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError() local1045 const int srcMaxValue = de::max((1<<clampedBits) - 1, 1); in calculateU8ConversionError()
2721 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError() local2722 const float srcMaxValue = de::max((float)(1ULL<<clampedBits) - 1.0f, 1.0f); in calculateFloatConversionError()