[libc-commits] [libc] [libc] Only declare float128 math functions in the generated math.h if float128 type is supported. (PR #81010)

via libc-commits libc-commits at lists.llvm.org
Wed Feb 7 09:16:35 PST 2024


================
@@ -11,6 +11,26 @@
 
 #include <__llvm-libc-common.h>
 #include <llvm-libc-macros/math-macros.h>
+#include <llvm-libc-types/float128.h>
+
+#ifdef LIBC_COMPILER_HAS_FLOAT128
----------------
lntue wrote:

Yes they are.  All the headers inside `libc/include` are expected to be used by users in full build mode.

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


More information about the libc-commits mailing list