tvm_tirx.tirx.script.truncdiv

Contents

tvm_tirx.tirx.script.truncdiv#

tvm_tirx.tirx.script.truncdiv(a, b, loc=UNKNOWN_LOC)#

Compute the truncdiv of two expressions.

Parameters:
  • a (Expr) – The left hand operand

  • b (Expr) – The right hand operand

  • loc (Location, optional) – The location of this operator in the source.

Returns:

res (Expr) – The result expression.

Note

This is the default integer division behavior in C.