BigFloat.Addition Operator

Definition

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

Overload List

Addition(BigFloat, BigFloat) Operator

Adds two BigFloat numbers.
C#
public static BigFloat operator +(
	BigFloat left,
	BigFloat right
)

Parameters

left  BigFloat
A BigFloat value.
right  BigFloat
A BigFloat value.

Return Value

BigFloat

Implements

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

Remarks

The precision of the result is the smaller of the relative precisions of left and right.

Addition(BigFloat, BigInteger) Operator

Adds a BigFloat number and a BigInteger.
C#
public static BigFloat operator +(
	BigFloat left,
	BigInteger right
)

Parameters

left  BigFloat
A BigFloat value.
right  BigInteger
A BigInteger value.

Return Value

BigFloat

Remarks

The precision of the result is the smaller of the absolute precisions of left and right.

Addition(BigFloat, BigRational) Operator

Adds a BigFloat and a BigRational number.
C#
public static BigFloat operator +(
	BigFloat left,
	BigRational right
)

Parameters

left  BigFloat
A BigFloat value.
right  BigRational
A BigRational value.

Return Value

BigFloat

Remarks

The precision of the result is the smaller of the absolute precisions of left and right.

Addition(BigFloat, Int32) Operator

Adds two BigFloat numbers.
C#
public static BigFloat operator +(
	BigFloat left,
	int right
)

Parameters

left  BigFloat
A BigFloat value.
right  Int32
An integer.

Return Value

BigFloat

Remarks

The precision of the result is the smaller of the absolute precisions of left and right.

Addition(BigInteger, BigFloat) Operator

Adds a BigFloat number and a BigInteger.
C#
public static BigFloat operator +(
	BigInteger left,
	BigFloat right
)

Parameters

left  BigInteger
A BigInteger value.
right  BigFloat
A BigFloat value.

Return Value

BigFloat

Remarks

The precision of the result is the smaller of the absolute precisions of left and right.

Addition(BigRational, BigFloat) Operator

Adds a BigFloat and a BigRational number.
C#
public static BigFloat operator +(
	BigRational left,
	BigFloat right
)

Parameters

left  BigRational
A BigRational value.
right  BigFloat
A BigFloat value.

Return Value

BigFloat

Remarks

The precision of the result is the smaller of the absolute precisions of left and right.

Addition(Int32, BigFloat) Operator

Adds two BigFloat numbers.
C#
public static BigFloat operator +(
	int left,
	BigFloat right
)

Parameters

left  Int32
An integer.
right  BigFloat
A BigFloat value.

Return Value

BigFloat

Remarks

The precision of the result is the smaller of the absolute precisions of left and right.

See Also