[libc-commits] [libc] [libc][NFC] Remove MantissaWidth traits (PR #75458)
Clement Courbet via libc-commits
libc-commits at lists.llvm.org
Thu Dec 14 05:53:34 PST 2023
================
@@ -57,7 +57,7 @@ LIBC_INLINE float log(double x) {
// Get the 8 highest bits, use 7 bits (excluding the implicit hidden bit) for
// lookup tables.
int f_index = static_cast<int>(
- xbits.get_mantissa() >> 45); // fputil::MantissaWidth<double>::VALUE - 7
+ xbits.get_mantissa() >> 45); // fputil::FPBits<double>::MANTISSA_WIDTH - 7
----------------
legrosbuffle wrote:
(possibly in a separate commit)
https://github.com/llvm/llvm-project/pull/75458
More information about the libc-commits
mailing list