[libc-commits] [libc] [libc][math] Qualify floor functions to constexpr (PR #192791)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Sat Apr 18 09:26:53 PDT 2026
================
@@ -60,6 +69,9 @@ static_assert(float128(0.0) ==
LIBC_NAMESPACE::shared::copysignf128(float128(0.0),
float128(0.0)));
+static_assert(float128(0.0) ==
+ LIBC_NAMESPACE::shared::floorf128(float128(0.0)));
----------------
bassiounix wrote:
```suggestion
float128(0.0)));
static_assert(float128(0.0) ==
LIBC_NAMESPACE::shared::floorf128(float128(0.0)));
```
https://github.com/llvm/llvm-project/pull/192791
More information about the libc-commits
mailing list