bigIntDivFloor
bigIntDivFloor(
dividend,divisor):bigint
Defined in: packages/core/src/big-int/div-floor.ts:10
Flooring division — rounds toward negative infinity.
bigIntDivFloor(-7n, 2n) === -4n, where bigIntDivTrunc gives -3n.
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.