[libc-commits] [libc] [llvm] [libc][math] Refactor ffmaf128 into a header only. (PR #177873)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Thu Feb 5 05:17:20 PST 2026


================
@@ -7,14 +7,12 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/math/ffmaf128.h"
-#include "src/__support/FPUtil/FMA.h"
-#include "src/__support/common.h"
-#include "src/__support/macros/config.h"
+#include "src/__support/math/ffmaf128.h"
 
 namespace LIBC_NAMESPACE_DECL {
 
 LLVM_LIBC_FUNCTION(float, ffmaf128, (float128 x, float128 y, float128 z)) {
-  return fputil::fma<float>(x, y, z);
+    return math::ffmaf128(x, y, z);
----------------
bassiounix wrote:

Did you format the code?

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


More information about the libc-commits mailing list