bigIntDivEuclid
bigIntDivEuclid(
dividend,divisor):bigint
Defined in: packages/core/src/big-int/div-euclid.ts:12
Euclidean division — the quotient whose remainder is bigIntModEuclid,
so dividend === quotient * divisor + bigIntModEuclid(dividend, divisor).
Derived from the remainder rather than by flooring, because flooring and Euclidean division agree only when the divisor is positive.
Parameters
Section titled “Parameters”dividend
Section titled “dividend”bigint
divisor
Section titled “divisor”bigint
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”When divisor is zero.