Rollup merge of #146277 - Kivooeo:u64-unlock, r=scottmcm

Enable `u64` limbs in `core::num::bignum`

Since `u128` is stable now, I guess, we can safely add this, not sure if this requires tests or anything

cc https://github.com/rust-lang/rust/issues/137887
This commit is contained in:
Stuart Cook 2025-10-14 16:30:56 +11:00 committed by GitHub
commit 6e07b25bf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,8 +59,7 @@ impl_full_ops! {
u8: add(intrinsics::u8_add_with_overflow), mul/div(u16);
u16: add(intrinsics::u16_add_with_overflow), mul/div(u32);
u32: add(intrinsics::u32_add_with_overflow), mul/div(u64);
// See RFC #521 for enabling this.
// u64: add(intrinsics::u64_add_with_overflow), mul/div(u128);
u64: add(intrinsics::u64_add_with_overflow), mul/div(u128);
}
/// Table of powers of 5 representable in digits. Specifically, the largest {u8, u16, u32} value