def BigInt.add

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

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

401def BigInt.add(a: BigInt, b: BigInt) -> BigInt:
402  match a b:
403    case BigInt{+sa, x} BigInt{sb, y}:
404      BigInt.add.go(Bool.xor(sa, sb), sa, x, y)

Uses (3)

Used by (3)