pub fn extern_spec_u128_saturating_sub(self_: u128, rhs: u128) -> u128Expand description
extern spec for u128::saturating_sub
This is not a real function: its only use is for documentation.
terminates
ghost
ensures
(self@ $op rhs@) >= $type::MIN@ && (self@ $op rhs@) <= $type::MAX@ ==> result@ == (self@ $op rhs@)
ensures
(self@ $op rhs@) < $type::MIN@ ==> result@ == $type::MIN@ensures
(self@ $op rhs@) > $type::MAX@ ==> result@ == $type::MAX@