Skip to content

Commit 4275a73

Browse files
[libc] Fix long double is double double const (#113258)
Turns out for double double LDBL_MANT_DIG == 106. This patch fixes the constant. Should fix the ppc buildbot. Previously: #113235 #113237 #91651
1 parent 6512a8d commit 4275a73

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define LIBC_TYPES_LONG_DOUBLE_IS_X86_FLOAT80
2828
#elif (LDBL_MANT_DIG == 113)
2929
#define LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128
30-
#elif (LDBL_MANT_DIG == 103)
30+
#elif (LDBL_MANT_DIG == 106)
3131
#define LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
3232
#endif
3333

0 commit comments

Comments
 (0)