Skip to main content

extern_spec_Shl__ref_u128_u128_shl

Function extern_spec_Shl__ref_u128_u128_shl 

Source
pub fn extern_spec_Shl__ref_u128_u128_shl(self_: u128, rhs: &u128) -> u128
Expand description

extern spec for u128::shl

This is not a real function: its only use is for documentation.

requires

(0usize as $rhs) <= *rhs && *rhs < $type::BITS as $rhs

ensures

result == self $op *rhs