[libc-commits] [libc] [libc][NFC] Reuse `FloatProperties` constant instead of creating new ones (PR #75187)

Clement Courbet via libc-commits libc-commits at lists.llvm.org
Tue Dec 12 06:23:11 PST 2023


================
@@ -77,8 +77,6 @@ eisel_lemire(ExpandedFloat<T> init_num,
   UIntType mantissa = init_num.mantissa;
   int32_t exp10 = init_num.exponent;
 
-  constexpr uint32_t BITS_IN_MANTISSA = sizeof(mantissa) * 8;
----------------
legrosbuffle wrote:

Wow this was misleading. Much better now.

https://github.com/llvm/llvm-project/pull/75187


More information about the libc-commits mailing list