Skip to main content

overflowing_add_u64

Function overflowing_add_u64 

Source
pub const fn overflowing_add_u64(lhs: u64, rhs: u64) -> (u64, Choice)
Expand description

Add two integers, returning the wrapping sum and Choice::TRUE on overflow.