def BigInt.divmod.fin

bend-kit-bignum@0.1.0.0 · bigint.bend:414

import bend-kit-bignum@0.1.0.0/bigint.bend as Bigint
import Base

414def BigInt.divmod.fin(+sa: Bool, sb: Bool,
415  qr: List<&2, U32> & List<&2, U32>) -> BigInt & BigInt:
416  (q, r) = qr
417  (BigInt.mk(Bool.xor(sa, sb), q), BigInt.mk(sa, r))

Uses (8)

Used by (1)