def BigInt.neg

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

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

356def BigInt.neg(x: BigInt) -> BigInt:
357  match x:
358    case BigInt{s, m}:
359      BigInt.mk(Bool.not(s), m)

Uses (3)

Used by (5)