Skip to content

Commit ee60f1e

Browse files
committed
fmt
1 parent 7dd9354 commit ee60f1e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

libc/include/llvm-libc-types/cfloat128.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@
1313

1414
// Currently, the complex variant of C23 `_Float128` type is only defined as a
1515
// built-in type in GCC 7 or later, and only for C. For C++, or for clang,
16-
// the complex variant of `__float128` is defined instead, and only on x86-64 targets.
16+
// the complex variant of `__float128` is defined instead, and only on x86-64
17+
// targets.
1718
//
1819
// TODO: Update the complex variant of C23 `_Float128` type detection again when
1920
// clang supports it.
2021
// https://github.com/llvm/llvm-project/issues/80195
21-
#if defined(__STDC_IEC_60559_BFP__) && !defined(__clang__) && \
22+
#if defined(__STDC_IEC_60559_COMPLEX__) && !defined(__clang__) && \
2223
!defined(__cplusplus)
2324
#define LIBC_TYPES_HAS_CFLOAT128
2425
typedef _Complex _Float128 cfloat128;
2526
#elif defined(__FLOAT128__) || defined(__SIZEOF_FLOAT128__)
26-
// Use _Complex __float128 type. gcc and clang sometime use __SIZEOF_FLOAT128__ to
27-
// notify the availability of __float128.
28-
// clang also uses __FLOAT128__ macro to notify the availability of __float128
29-
// type: https://reviews.llvm.org/D15120
27+
// Use _Complex __float128 type. gcc and clang sometime use __SIZEOF_FLOAT128__
28+
// to notify the availability of __float128. clang also uses __FLOAT128__ macro
29+
// to notify the availability of __float128 type:
30+
// https://reviews.llvm.org/D15120
3031
#define LIBC_TYPES_HAS_CFLOAT128
3132
typedef _Complex __float128 cfloat128;
3233
#elif (LDBL_MANT_DIG == 113)

0 commit comments

Comments
 (0)