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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Mar 7 08:42:44 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
----------------
jhuber6 wrote:

That's the best option, as floats from the GPU are all x64 doubles and printing them as a long double would probably be broken anyways.

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


More information about the libc-commits mailing list