Skip to content

kirin.dialects.math.stmts.remainder

← Module overview

classremaindersource

kirin.dialects.math.stmts.remainder

Bases: ir.Statement

remainder statement, wrapping the math.remainder function

class remainder

Attributes

NameTypeDefaultDescription
name—'remainder'
traits—frozenset({ir.Pure(), lowering.FromPythonCall()})
xir.SSAValueinfo.argument(types.Float)
yir.SSAValueinfo.argument(types.Float)
resultir.ResultValueinfo.result(types.Float)