wrapping_add_unsigned

Function wrapping_add_unsigned 

Source
pub open spec fn wrapping_add_unsigned(x: i64, y: u64) -> i64
Expand description
{
    if x + y > <i64>::MAX {
        (x + y - 0x1_0000_0000_0000_0000) as i64
    } else {
        (x + y) as i64
    }
}