[libc-commits] [libc] [libc][NFC] Remove `FloatProperties` (PR #76508)

Clement Courbet via libc-commits libc-commits at lists.llvm.org
Thu Dec 28 08:00:14 PST 2023


================
@@ -39,41 +39,41 @@ enum class FPEncoding {
   X86_ExtendedPrecision,
 };
 
-template <FPType> struct FPBaseProperties {};
+template <FPType> struct FPBaseAttr {};
 
-template <> struct FPBaseProperties<FPType::IEEE754_Binary16> {
+template <> struct FPBaseAttr<FPType::IEEE754_Binary16> {
----------------
legrosbuffle wrote:

Would it make sense to derive `TOTAL_LEN` from `SIG_LEN`, `EXP_LEN` and `ENCODING` (in a derived class)?

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


More information about the libc-commits mailing list