[libc-commits] [libc] [libc][complex] fix compiler support matrix for cfloat128 (PR #122593)
Shourya Goel via libc-commits
libc-commits at lists.llvm.org
Sat Jan 11 10:08:04 PST 2025
================
@@ -18,25 +18,19 @@
//
// TODO: Update the complex variant of C23 `_Float128` type detection again when
// clang supports it.
-#if defined(__STDC_IEC_60559_COMPLEX__) && !defined(__clang__)
-#if !defined(__cplusplus)
-#define LIBC_TYPES_HAS_CFLOAT128
-typedef _Complex _Float128 cfloat128;
-#elif defined(__GNUC__) && __GNUC__ >= 13
-#define LIBC_TYPES_HAS_CFLOAT128
-typedef _Complex _Float128 cfloat128;
-#endif
-#elif __clang_major__ >= 11 && \
+#if defined(__clang__) && (__clang_major__ >= 11) && \
----------------
Sh0g0-1758 wrote:
Ah, yes. makes sense, made the changes.
https://github.com/llvm/llvm-project/pull/122593
More information about the libc-commits
mailing list