fixedUIntBigMul
fixedUIntBigMul(
left,right,bitWidth,mode?):bigint
Defined in: packages/math-numbers/src/fixed-int-big/fixed-uint-big-mul.ts:19
Product of two bitWidth-bit unsigned integers, under mode.
The exact product is computed at full bigint width before the policy
applies, so clamp clamps against the true result rather than against one a
hardware multiply has already truncated.
Parameters
Section titled “Parameters”bigint
Left operand.
bigint
Right operand.
bitWidth
Section titled “bitWidth”number
Width of the integer, in bits.
Overflow policy. Defaults to
numericConfig.defaultOverflowMode.
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”When bitWidth is not a non-negative safe integer.
Throws
Section titled “Throws”When the product does not fit and mode is abort.