[libc-commits] [libc] 1704226 - [libc][math] Fix build failures caused by constexpr (#181920)
via libc-commits
libc-commits at lists.llvm.org
Tue Feb 17 14:04:40 PST 2026
Author: Muhammad Bassiouni
Date: 2026-02-18T00:04:34+02:00
New Revision: 170422666f8112e90135bd79b345034c7ebbc26b
URL: https://github.com/llvm/llvm-project/commit/170422666f8112e90135bd79b345034c7ebbc26b
DIFF: https://github.com/llvm/llvm-project/commit/170422666f8112e90135bd79b345034c7ebbc26b.diff
LOG: [libc][math] Fix build failures caused by constexpr (#181920)
Added:
Modified:
libc/src/__support/math/bf16divf.h
Removed:
################################################################################
diff --git a/libc/src/__support/math/bf16divf.h b/libc/src/__support/math/bf16divf.h
index ad5cb57aac828..0e201f8a124ed 100644
--- a/libc/src/__support/math/bf16divf.h
+++ b/libc/src/__support/math/bf16divf.h
@@ -17,7 +17,7 @@ namespace LIBC_NAMESPACE_DECL {
namespace math {
-LIBC_INLINE constexpr bfloat16 bf16divf(float x, float y) {
+LIBC_INLINE bfloat16 bf16divf(float x, float y) {
return fputil::generic::div<bfloat16>(x, y);
}
More information about the libc-commits
mailing list