Skip to content

Commit a7773b3

Browse files
committed
Add TODO to update float128 type detection macros.
1 parent 1014ffb commit a7773b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#define __LIBC_COMPILER_GCC_VER (__GNUC__ * 100 + __GNUC_MINOR__)
2121
#endif // __clang__, __GNUC__
2222

23+
// TODO: Simplify and update the type detection, especially when clang supports
24+
// _Float128 C23 type.
2325
#if (defined(__LIBC_COMPILER_GCC_VER) && (__LIBC_COMPILER_GCC_VER >= 1301)) && \
2426
(defined(__aarch64__) || defined(__riscv) || defined(__x86_64__))
2527
#define LIBC_COMPILER_HAS_C23_FLOAT128

0 commit comments

Comments
 (0)