Bigint.BigInt.cmp: def of bend-kit-bignum@0.1.0.0 Import: import bend-kit-bignum@0.1.0.0/bigint.bend as Bigint Lines 371-380 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=371&end_line=380 import Base def BigInt.cmp(a: BigInt, b: BigInt) -> Cmp: match a b: case BigInt{False{}, x} BigInt{False{}, y}: Mag.cmp(x, y) case BigInt{True{}, x} BigInt{True{}, y}: Mag.cmp(y, x) case BigInt{False{}, x} BigInt{True{}, y}: GT{} case BigInt{True{}, x} BigInt{False{}, y}: LT{} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&name=BigInt https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&name=Mag.cmp