wrapping_add

Function wrapping_add 

Source
pub open spec fn wrapping_add(x: usize, y: usize) -> usize
Expand description
{
    if x + y > <usize>::MAX {
        (x + y - (usize::MAX - usize::MIN + 1)) as usize
    } else {
        (x + y) as usize
    }
}