[libc-commits] [libc] [libc][math][NFC] fix fmul build (PR #195437)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Sat May 2 03:02:00 PDT 2026
https://github.com/bassiounix created https://github.com/llvm/llvm-project/pull/195437
None
>From 11dd2c135a11659152d16f45fcd54c4bf7fa431e Mon Sep 17 00:00:00 2001
From: bassiounix <muhammad.m.bassiouni at gmail.com>
Date: Sat, 2 May 2026 13:01:13 +0300
Subject: [PATCH] [libc][math][NFC] fix fmul build
---
libc/src/__support/math/fmul.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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