[libc-commits] [libc] 0ec4b22 - [libc][math][NFC] fix fmul build (#195437)
via libc-commits
libc-commits at lists.llvm.org
Sat May 2 03:02:07 PDT 2026
Author: Muhammad Bassiouni
Date: 2026-05-02T13:02:02+03:00
New Revision: 0ec4b220b1f4cd9961c1f119e3df916749f16026
URL: https://github.com/llvm/llvm-project/commit/0ec4b220b1f4cd9961c1f119e3df916749f16026
DIFF: https://github.com/llvm/llvm-project/commit/0ec4b220b1f4cd9961c1f119e3df916749f16026.diff
LOG: [libc][math][NFC] fix fmul build (#195437)
Added:
Modified:
libc/src/__support/math/fmul.h
Removed:
################################################################################
diff --git a/libc/src/__support/math/fmul.h b/libc/src/__support/math/fmul.h
index 52c6c80232ba4..ea0368f3b02cb 100644
--- a/libc/src/__support/math/fmul.h
+++ b/libc/src/__support/math/fmul.h
@@ -18,7 +18,7 @@
namespace LIBC_NAMESPACE_DECL {
namespace math {
-LIBC_INLINE constexpr float fmul(double x, double y) {
+LIBC_INLINE LIBC_CONSTEXPR float fmul(double x, double y) {
// Without FMA instructions, fputil::exact_mult is not
// correctly rounded for all rounding modes, so we fall
More information about the libc-commits
mailing list