[libc-commits] [libc] [llvm] [libc] Refactor llogbl to be header-only and constexpr (PR #175376)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Mon Jan 19 07:46:13 PST 2026
================
@@ -90,6 +90,7 @@ TEST(LlvmLibcSharedMathTest, AllDouble) {
EXPECT_FP_EQ(0x1p+0, LIBC_NAMESPACE::shared::exp2(0.0));
EXPECT_FP_EQ(0x1p+0, LIBC_NAMESPACE::shared::exp10(0.0));
EXPECT_FP_EQ(0x0p+0, LIBC_NAMESPACE::shared::expm1(0.0));
+ EXPECT_EQ(0, LIBC_NAMESPACE::shared::llogbl(1.0L));
----------------
bassiounix wrote:
Add the test to the designated section for long double
https://github.com/llvm/llvm-project/pull/175376
More information about the libc-commits
mailing list