Skip to main content

floormod

Function floormod 

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

Build the remainder of floordiv, with the sign of b.

ยงErrors

Returns an InternalError if an operand is not an integer or a folded divisor is zero.