def BigInt.divmod.fin
import bend-kit-bignum@0.1.0.0/bigint.bend as Bigintimport 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))