mantissa_size = a->desc.mantissa_size + ROUNDING_BITS;
shift = exp_val - mantissa_size;
- mantissa_size += a->desc.explicit_one;
+ mantissa_size += 1;
if (shift > 0) {
sc_shlI(_mant(a), shift, mantissa_size, 0, result);
} else {
carry_flag = 1;
/* shift digits to the right with offset, carry and all */
- if ((bitsize >> 2) > shift_nib) {
- buffer[0] = shrs_table[_val(val1[shift_nib])][shift_mod][0];
- }
+ buffer[0] = shrs_table[_val(val1[shift_nib])][shift_mod][0];
for (counter = 1; counter < ((bitsize + 3) >> 2) - shift_nib; counter++) {
shrs = shrs_table[_val(val1[counter + shift_nib])][shift_mod];
buffer[counter] = shrs[0];