def Int.divmod

bend-kit-int@0.2.0.0 · int.bend:148

import bend-kit-int@0.2.0.0/int.bend as Int
import Base

148def Int.divmod(+n: Nat, s: Bool, a: Word(n), +b: Word(n)) ->
149  Word(n) & Word(n):
150  Int.divmod.if(Int.is_zero(n, b), s, n, a, b)

Uses (6)

Used by (2)