Function vstd::atomic::wrapping_sub_usize

source ·
pub open spec fn wrapping_sub_usize(a: int, b: int) -> int
Expand description
{
    if a - b < (<usize>::MIN as int) {
        a - b + ((<usize>::MAX as int) - (<usize>::MIN as int) + 1)
    } else {
        a - b
    }
}