Skip to content

Commit f1d0276

Browse files
authored
[libc][NFC] Rename LIBC_LONG_DOUBLE_IS_IEEE754_BIN128 to LIBC_LONG_DOUBLE_IS_FLOAT128 (llvm#74052)
To make it consistent with llvm#73948 and llvm#73950
1 parent 808b7d2 commit f1d0276

File tree

1 file changed

+3
-3
lines changed
  • libc/src/__support/macros/properties

1 file changed

+3
-3
lines changed

libc/src/__support/macros/properties/float.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// TODO: Replace with LIBC_LONG_DOUBLE_IS_X86_BIN80
2626
#define SPECIAL_X86_LONG_DOUBLE
2727
#elif (LDBL_MANT_DIG == 113)
28-
#define LIBC_LONG_DOUBLE_IS_IEEE754_BIN128
28+
#define LIBC_LONG_DOUBLE_IS_FLOAT128
2929
#endif
3030

3131
// float16 support.
@@ -69,13 +69,13 @@ using float16 = _Float16;
6969
using float128 = _Float128;
7070
#elif defined(LIBC_COMPILER_HAS_FLOAT128_EXTENSION)
7171
using float128 = __float128;
72-
#elif defined(LIBC_LONG_DOUBLE_IS_IEEE754_BIN128)
72+
#elif defined(LIBC_LONG_DOUBLE_IS_FLOAT128)
7373
using float128 = long double;
7474
#endif
7575

7676
#if defined(LIBC_COMPILER_HAS_C23_FLOAT128) || \
7777
defined(LIBC_COMPILER_HAS_FLOAT128_EXTENSION) || \
78-
defined(LIBC_LONG_DOUBLE_IS_IEEE754_BIN128)
78+
defined(LIBC_LONG_DOUBLE_IS_FLOAT128)
7979
// TODO: Replace with LIBC_HAS_FLOAT128
8080
#define LIBC_COMPILER_HAS_FLOAT128
8181
#endif

0 commit comments

Comments
 (0)