[libc-commits] [libc] [llvm] [libc][math] Refactor f16fmaf128 to Header Only (PR #177850)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Mon Jan 26 09:33:20 PST 2026


================
@@ -18,14 +18,17 @@
 #include "src/__support/macros/config.h"
 
 namespace LIBC_NAMESPACE_DECL {
+
 namespace math {
 
-LIBC_INLINE static double dfmaf128(float128 x, float128 y, float128 z) {
-  return fputil::fma<double>(x, y, z);
+LIBC_INLINE static float16 f16fmaf128(float128 x, float128 y, float128 z) {
----------------
bassiounix wrote:

can this function be `constexpr`?

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


More information about the libc-commits mailing list