Skip to content

kirin.dialects.vmath.stmts.remainder

← Module overview

classremaindersource

kirin.dialects.vmath.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(ilist.IListType[types.Float, ListLen])
yir.SSAValueinfo.argument(types.Float)
resultir.ResultValueinfo.result(ilist.IListType[types.Float, ListLen])