Skip to content

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.

bigint

Left operand.

bigint

Right operand.

number

Width of the integer, in bits.

OverflowMode

Overflow policy. Defaults to numericConfig.defaultOverflowMode.

bigint

When bitWidth is not a non-negative safe integer.

When the sum does not fit and mode is abort.