def Decimal.lowest.fix
import bend-kit-bignum@0.1.0.0/decimal.bend as Decimalimport Base
import bend-kit-bignum@0.1.0.0/bigint.bend as Big
82def Decimal.lowest.fix(neg: Bool, n: Big.BigInt, d: Big.BigInt) ->
83 Big.BigInt & Big.BigInt:
84 match neg:
85 case True{}:
86 (Big.BigInt.neg(n), Big.BigInt.neg(d))
87 case False{}:
88 (n, d)