def Decimal.lowest.by

bend-kit-bignum@0.1.0.0 · decimal.bend:93

import bend-kit-bignum@0.1.0.0/decimal.bend as Decimal
import Base
import bend-kit-bignum@0.1.0.0/bigint.bend as Big

93def Decimal.lowest.by(n: Big.BigInt, d: Big.BigInt, +g: Big.BigInt) ->
94  Big.BigInt & Big.BigInt:
95  Decimal.lowest.den(Decimal.quot(Big.BigInt.divmod(n, g)),
96    Decimal.quot(Big.BigInt.divmod(d, g)))

Uses (5)

Used by (1)