7200da0217
Reimplement `carrying_add` and `borrowing_sub` for signed integers. As per the discussion in #85532, this PR reimplements `carrying_add` and `borrowing_sub` for signed integers. It also adds unit tests for both unsigned and signed integers, emphasing on the behaviours of the methods. |
||
---|---|---|
.. | ||
dec2flt | ||
flt2dec | ||
bignum.rs | ||
const_from.rs | ||
i8.rs | ||
i16.rs | ||
i32.rs | ||
i64.rs | ||
i128.rs | ||
ieee754.rs | ||
int_log.rs | ||
int_macros.rs | ||
mod.rs | ||
nan.rs | ||
ops.rs | ||
u8.rs | ||
u16.rs | ||
u32.rs | ||
u64.rs | ||
u128.rs | ||
uint_macros.rs | ||
wrapping.rs |