[libc-commits] [libc] [libc][NFC] Simplify `FPBits` (PR #76835)
Clement Courbet via libc-commits
libc-commits at lists.llvm.org
Wed Jan 3 09:40:10 PST 2024
================
@@ -136,6 +136,11 @@ struct FPRepBase : public internal::FPLayout<fp_type> {
LIBC_INLINE static constexpr StorageType bit_at(int position) {
return StorageType(1) << position;
}
+ LIBC_INLINE static constexpr StorageType merge(StorageType a, StorageType b,
----------------
legrosbuffle wrote:
Please add a comment, it's not obvious what the naming means, and I don't think it's standard terminology.
https://github.com/llvm/llvm-project/pull/76835
More information about the libc-commits
mailing list