[libc-commits] [libc] fix ppc64le builds without IEEE double long (PR #184995)

via libc-commits libc-commits at lists.llvm.org
Sat Mar 7 08:40:05 PST 2026


================
@@ -36,6 +36,7 @@
 #define LIBC_COPT_PRINTF_DISABLE_WRITE_INT
 #define LIBC_COPT_PRINTF_DISABLE_INDEX_MODE
 #define LIBC_COPT_PRINTF_DISABLE_STRERROR
+#define LIBC_COPT_PRINTF_DISABLE_FLOAT
----------------
lntue wrote:

I wonder if it is ok as a little bit better workaround for PPC is to print only the double precision high part of its `long double` as double?

https://github.com/llvm/llvm-project/pull/184995


More information about the libc-commits mailing list