[libc-commits] [libc] [libc] Add bigint casting between word types (PR #111914)

via libc-commits libc-commits at lists.llvm.org
Thu Oct 10 19:56:00 PDT 2024


================
@@ -927,4 +928,143 @@ TEST(LlvmLibcUIntClassTest, OtherWordTypeTests) {
   ASSERT_EQ(static_cast<int>(a >> 64), 1);
 }
 
+TEST(LlvmLibcUIntClassTest, OtherWordTypeCastTests) {
----------------
lntue wrote:

Can you also add tests for same bits but different word types, like between `<64, uint64_t>`, `<64, uint32_t>`, and `<64, uint16_t>`, and mixed signed, unsigned?

https://github.com/llvm/llvm-project/pull/111914


More information about the libc-commits mailing list