Skip to main content

truncdiv

Function truncdiv 

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

Build a / b, rounding towards zero, of two integers.

ยงErrors

Returns an InternalError if an operand is not an integer or b is a constant zero.