[libc-commits] [libc] [libc][test] update constants used in stdbit test (PR #83893)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Mar 4 10:57:06 PST 2024
================
@@ -127,47 +127,47 @@ TEST(LlvmLibcStdbitTest, TypeGenericMacroFirstLeadingZero) {
EXPECT_EQ(stdc_first_leading_zero(static_cast<unsigned short>(0U)), 0xEBU);
EXPECT_EQ(stdc_first_leading_zero(0U), 0xECU);
EXPECT_EQ(stdc_first_leading_zero(0UL), 0xEDU);
- EXPECT_EQ(stdc_first_leading_zero(0ULL), 0xEFU);
+ EXPECT_EQ(stdc_first_leading_zero(0ULL), 0xEEU);
----------------
nickdesaulniers wrote:
missed `0xDFU` in `stdc_trailing_ones` above.
https://github.com/llvm/llvm-project/pull/83893
More information about the libc-commits
mailing list