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

via libc-commits libc-commits at lists.llvm.org
Tue Jan 27 08:50:17 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) {
----------------
Sukumarsawant wrote:

I am not sure about that since similar functions avoided `constexpr` . If needed I can check by adding it and compiling if thats the check ?

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


More information about the libc-commits mailing list