type usage fixes.

This commit is contained in:
IRainman 2025-12-29 19:17:25 +03:00
parent 8330f851f6
commit 611cd927f1

View File

@ -141,7 +141,7 @@ compute_float(am_pow_t q, am_mant_t w) noexcept {
// branchless approach: value128 product = compute_product(q, w); but in
// practice, we can win big with the compute_product_approximation if its
// additional branch is easily predicted. Which is best is data specific.
am_bits_t const upperbit = product.high >> 63;
am_bits_t const upperbit = static_cast<am_bits_t>(product.high >> 63);
am_bits_t const shift = upperbit + 64 - binary::mantissa_explicit_bits() - 3;
// Shift right the mantissa to the correct position