Skip to main content

shift_right

Function shift_right 

Source
pub fn shift_right(a: impl Operand, b: impl Operand) -> Result<PrimExpr>
Expand description

Build a >> b of two integers, sign-extending.

ยงErrors

Returns an InternalError if an operand is not an integer, or a constant shift amount is negative or not less than the width.