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

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Feb 7 08:56:56 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
----------------
SchrodingerZhu wrote:

is the macro exposed to user interface?

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


More information about the libc-commits mailing list