[libc-commits] [libc] [llvm] [libc][math] Refactor sqrt to header-only (PR #178335)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Wed Jan 28 18:57:33 PST 2026
================
@@ -120,6 +120,8 @@ TEST(LlvmLibcSharedMathTest, AllDouble) {
EXPECT_FP_EQ(0x0p+0, LIBC_NAMESPACE::shared::log1p(0.0));
EXPECT_FP_EQ(0x0p+0, LIBC_NAMESPACE::shared::log2(1.0));
EXPECT_FP_EQ(0.0, LIBC_NAMESPACE::shared::sin(0.0));
+ EXPECT_FP_EQ(0x0p+0, LIBC_NAMESPACE::shared::sqrt(0.0));
+ EXPECT_EQ(0L, LIBC_NAMESPACE::shared::llogb(1.0));
----------------
bassiounix wrote:
Duplicate
```suggestion
```
https://github.com/llvm/llvm-project/pull/178335
More information about the libc-commits
mailing list