[libc-commits] [libc] [libc][math][NFC] fix fmul build (PR #195437)

via libc-commits libc-commits at lists.llvm.org
Sat May 2 03:02:39 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Muhammad Bassiouni (bassiounix)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/195437.diff


1 Files Affected:

- (modified) libc/src/__support/math/fmul.h (+1-1) 


``````````diff
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

``````````

</details>


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


More information about the libc-commits mailing list