Bigint.Mag.long: def of bend-kit-bignum@0.1.0.0 Import: import bend-kit-bignum@0.1.0.0/bigint.bend as Bigint Lines 227-236 of bend-kit-bignum@0.1.0.0/bigint.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&start_line=227&end_line=236 import Base # Long division over the dividend's limbs, most significant first. Quotient # digits are consed, so the quotient comes out little-endian. def Mag.long(xs: List<&2, U32>, +bn: List<&2, U32>, +n: Nat, +n1: Nat, +vt: U32, qr: List<&2, U32> & List<&2, U32>) -> List<&2, U32> & List<&2, U32>: match xs: case Nil{}: qr case Con{x, t}: Mag.long(t, bn, n, n1, vt, Mag.step(x, bn, n, n1, vt, qr)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&name=Mag.step