Lines Matching defs:exp2
114 int32_t exp2 =
156 exp2 -= static_cast<uint32_t>(1 ^ msb); // same as !msb
183 ++exp2;
187 // if exp2 <= 0 || exp2 >= 0x7FF { etc }
188 if (static_cast<uint32_t>(exp2) - 1 >= (1 << FPBits::EXP_LEN) - 2) {
194 output.exponent = exp2;
232 int32_t exp2 =
282 exp2 -= static_cast<uint32_t>(1 ^ msb); // same as !msb
308 ++exp2;
312 // if exp2 <= 0 || exp2 >= MANTISSA_MAX { etc }
313 if (exp2 - 1 >= (1 << FPBits::EXP_LEN) - 2) {
319 output.exponent = exp2;
346 int32_t exp2 = 0;
381 exp2 += shift_amount;
397 exp2 -= shift_amount;
402 --exp2;
406 exp2 += FPBits::EXP_BIAS;
409 if (exp2 >= FPBits::MAX_BIASED_EXPONENT) {
420 if (exp2 <= 0) {
422 while (exp2 < 0) {
424 ++exp2;
433 ++exp2;
440 ++exp2;
442 // Check if this rounding causes exp2 to go out of range and make the result
443 // INF. If this is the case, then finalMantissa and exp2 are already the
445 if (exp2 >= FPBits::MAX_BIASED_EXPONENT) {
450 if (exp2 == 0) {
454 output.num = {final_mantissa, exp2};
773 int32_t exp2 = init_num.exponent;
786 // Keep exp2 representing the exponent of the lowest bit of StorageType.
787 exp2 -= amount_to_shift_left;
790 int32_t biased_exponent = exp2 + FPBits::STORAGE_LEN + FPBits::EXP_BIAS - 1;