[libc-commits] [libc] [libc][NFC] Remove custom leading_zeroes, factor in frequent typenames (PR #74825)
via libc-commits
libc-commits at lists.llvm.org
Fri Dec 8 11:19:24 PST 2023
================
@@ -128,12 +90,11 @@ eisel_lemire(ExpandedFloat<T> init_num,
}
// Normalization
- uint32_t clz = leading_zeroes<BitsType>(mantissa);
+ uint32_t clz = cpp::countl_zero<UIntType>(mantissa);
----------------
lntue wrote:
Can you include the header defining this function directly?
https://github.com/llvm/llvm-project/pull/74825
More information about the libc-commits
mailing list