Lines Matching defs:width
212 // If exponent is 0, trimSize will be equal to the mantissa width, and
267 fromfp(T x, int rnd, unsigned int width) {
273 if (width == 0U) {
289 if (width - 1 > FPBits<T>::EXP_BIAS)
293 static_cast<StorageType>(width - 1 + FPBits<T>::EXP_BIAS);
294 // rounded_value < -2^(width - 1)
301 // rounded_value > 2^(width - 1) - 1
319 if (width > FPBits<T>::EXP_BIAS)
322 StorageType range_exp = static_cast<StorageType>(width + FPBits<T>::EXP_BIAS);
323 // rounded_value > 2^width - 1
337 fromfpx(T x, int rnd, unsigned int width) {
338 T rounded_value = fromfp<IsSigned>(x, rnd, width);