BigInteger.Addition Operator

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

Addition(BigInteger, BigInteger) Returns the sum of two BigInteger numbers.
Addition(BigInteger, Int32) Returns the sum of a BigInteger and a 32 bit integer.
Addition(Int32, BigInteger) Returns the sum of a 32 bit integer and a BigInteger.

Addition(BigInteger, BigInteger) Operator

Returns the sum of two BigInteger numbers.
C#
public static BigInteger operator +(
	BigInteger left,
	BigInteger right
)

Parameters

left  BigInteger
A BigInteger number.
right  BigInteger
A BigInteger number.

Return Value

BigInteger
The sum of left and right.

Implements

IAdditionOperators<TSelf, TOther, TResult>.Addition(TSelf, TOther)

Addition(BigInteger, Int32) Operator

Returns the sum of a BigInteger and a 32 bit integer.
C#
public static BigInteger operator +(
	BigInteger left,
	int right
)

Parameters

left  BigInteger
A BigInteger number.
right  Int32
A 32 bit signed integer.

Return Value

BigInteger
The sum of left and right.

Addition(Int32, BigInteger) Operator

Returns the sum of a 32 bit integer and a BigInteger.
C#
public static BigInteger operator +(
	int left,
	BigInteger right
)

Parameters

left  Int32
A 32-bit signed integer.
right  BigInteger
A BigInteger number.

Return Value

BigInteger
The sum of left and right.

See Also