[libc-commits] [libc] [libc][NFC] Make `QNAN_MASK` an implementation detail of `FPBits` (PR #75945)

Clement Courbet via libc-commits libc-commits at lists.llvm.org
Tue Dec 19 08:11:46 PST 2023


================
@@ -39,7 +39,11 @@ template <typename T> struct FPBits : private FloatProperties<T> {
   using FloatProperties<T>::EXP_LEN;
   using FloatProperties<T>::FRACTION_MASK;
   using FloatProperties<T>::FRACTION_LEN;
-  using FloatProperties<T>::QUIET_NAN_MASK;
+
+private:
+  using FloatProperties<T>::QNAN_MASK;
----------------
legrosbuffle wrote:

Let's keep `QUIET_NAN_MASK`, it's less cryptic.

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


More information about the libc-commits mailing list