[libc-commits] [libc] [libc][NFC] Clean up conversion warnings in math function implementations. (PR #74697)
via libc-commits
libc-commits at lists.llvm.org
Fri Dec 8 06:29:35 PST 2023
================
@@ -94,7 +94,7 @@ template <size_t Bits> struct DyadicFloat {
return 0.0;
// Assume that it is normalized, and output is also normal.
- constexpr size_t PRECISION = FloatProperties<T>::MANTISSA_WIDTH + 1;
+ constexpr uint32_t PRECISION = FloatProperties<T>::MANTISSA_WIDTH + 1;
----------------
lntue wrote:
Thanks for noticing this! Updated.
https://github.com/llvm/llvm-project/pull/74697
More information about the libc-commits
mailing list