[libc-commits] [libc] [libc][NFC] Remove MantissaWidth traits (PR #75458)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Thu Dec 14 06:00:13 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
----------------
gchatelet wrote:
Done
https://github.com/llvm/llvm-project/pull/75458
More information about the libc-commits
mailing list