[libc-commits] [libc] [libc][math] Make pow function correctly rounded for all rounding modes. (PR #222827)

via libc-commits libc-commits at lists.llvm.org
Thu Sep 17 10:56:21 PDT 2026


================
@@ -29,6 +29,14 @@
 #define LIBC_INLINE_ASM __asm__ __volatile__
 #define LIBC_UNUSED __attribute__((unused))
 
+#if __has_attribute(always_inline)
+#define LIBC_ALWAYS_INLINE LIBC_INLINE __attribute__((always_inline))
+#elif defined(LIBC_COMPILER_IS_MSVC) || defined(_MSC_VER)
+#define LIBC_ALWAYS_INLINE __forceinline
+#else
+#define LIBC_ALWAYS_INLINE LIBC_INLINE
+#endif
----------------
lntue wrote:

Done.

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


More information about the libc-commits mailing list