[libc-commits] [libc] [llvm] [libc][NFC] rename `float.h` macro file to `types.h` (PR #83190)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Feb 27 14:12:49 PST 2024


================
@@ -24,13 +24,13 @@ template <typename T> struct is_floating_point {
   }
 
 public:
-#if defined(LIBC_COMPILER_HAS_FLOAT128)
-  LIBC_INLINE_VAR static constexpr bool value =
-      __is_unqualified_any_of<T, float, double, long double, float128>();
-#else
   LIBC_INLINE_VAR static constexpr bool value =
-      __is_unqualified_any_of<T, float, double, long double>();
+      __is_unqualified_any_of<T, float, double, long double
+#if defined(LIBC_COMPILER_HAS_FLOAT128)
+                              ,
+                              float128
----------------
nickdesaulniers wrote:

:( consider omitting this hunk for now

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


More information about the libc-commits mailing list