[libc-commits] [libc] [llvm] [libc][math] Refactor sincos implementation to header only (PR #177522)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Thu Jan 29 19:02:10 PST 2026
================
@@ -120,6 +122,9 @@ 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(1.0, cos);
+ EXPECT_FP_EQ(0.0, sin);
+ EXPECT_EQ(0L, LIBC_NAMESPACE::shared::llogb(1.0));
----------------
bassiounix wrote:
Duplicate
```suggestion
```
https://github.com/llvm/llvm-project/pull/177522
More information about the libc-commits
mailing list