File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,9 @@ compute_float(am_pow_t q, am_mant_t w) noexcept {
141141 // branchless approach: value128 product = compute_product(q, w); but in
142142 // practice, we can win big with the compute_product_approximation if its
143143 // additional branch is easily predicted. Which is best is data specific.
144- am_bits_t const upperbit = static_cast <am_bits_t >(product.high >> 63 );
145- am_bits_t const shift = upperbit + 64 - binary::mantissa_explicit_bits () - 3 ;
144+ auto const upperbit = static_cast <am_bits_t >(product.high >> 63 );
145+ auto const shift = static_cast <am_bits_t >(
146+ upperbit + 64 - binary::mantissa_explicit_bits () - 3 );
146147
147148 // Shift right the mantissa to the correct position
148149 answer.mantissa = product.high >> shift;
You can’t perform that action at this time.
0 commit comments