fixedSIntBigAdd
fixedSIntBigAdd(
left,right,bitWidth,mode?):bigint
Defined in: packages/math-numbers/src/fixed-int-big/fixed-sint-big-add.ts:15
Sum of two bitWidth-bit two’s-complement integers, under mode.
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 sum does not fit and mode is abort.