Lines Matching defs:exponent
36 int exponent = bits.get_exponent();
38 // If the exponent is greater than the most negative mantissa
39 // exponent, then x is already an integer.
40 if (exponent >= static_cast<int>(FPBits<T>::FRACTION_LEN))
43 // If the exponent is such that abs(x) is less than 1, then return 0.
44 if (exponent <= -1)
47 int trim_size = FPBits<T>::FRACTION_LEN - exponent;
64 int exponent = bits.get_exponent();
66 // If the exponent is greater than the most negative mantissa
67 // exponent, then x is already an integer.
68 if (exponent >= static_cast<int>(FPBits<T>::FRACTION_LEN))
71 if (exponent <= -1) {
78 uint32_t trim_size = FPBits<T>::FRACTION_LEN - exponent;
116 int exponent = bits.get_exponent();
118 // If the exponent is greater than the most negative mantissa
119 // exponent, then x is already an integer.
120 if (exponent >= static_cast<int>(FPBits<T>::FRACTION_LEN))
123 if (exponent == -1) {
128 if (exponent <= -2) {
133 uint32_t trim_size = FPBits<T>::FRACTION_LEN - exponent;
167 int exponent = bits.get_exponent();
169 // If the exponent is greater than the most negative mantissa
170 // exponent, then x is already an integer.
171 if (exponent >= static_cast<int>(FPBits<T>::FRACTION_LEN))
174 if (exponent <= -1) {
183 if (exponent < -1)
188 if (exponent <= -2 || bits.get_mantissa() == 0)
195 uint32_t trim_size = FPBits<T>::FRACTION_LEN - exponent;
212 // If exponent is 0, trimSize will be equal to the mantissa width, and
234 if (exponent == 0)
367 int exponent = bits.get_exponent();
369 if (exponent > EXPONENT_LIMIT) {
372 } else if (exponent == EXPONENT_LIMIT) {