BigFloat.Add Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Add(BigFloat, BigFloat) Adds two BigFloat numbers.
Add(BigFloat, BigFloat, AccuracyGoal) Adds two numbers and returns the result with the specified accuracy.
Add(BigFloat, BigFloat, AccuracyGoal, RoundingMode) Adds two numbers and returns the result with the specified accuracy.

Add(BigFloat, BigFloat)

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

Parameters

left  BigFloat
A BigFloat 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.

Add(BigFloat, BigFloat, AccuracyGoal)

Adds two numbers and returns the result with the specified accuracy.
C#
public static BigFloat Add(
	BigFloat left,
	BigFloat right,
	AccuracyGoal accuracyGoal
)

Parameters

left  BigFloat
A BigFloat value.
right  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy.

Return Value

BigFloat

Add(BigFloat, BigFloat, AccuracyGoal, RoundingMode)

Adds two numbers and returns the result with the specified accuracy.
C#
public static BigFloat Add(
	BigFloat left,
	BigFloat right,
	AccuracyGoal accuracyGoal,
	RoundingMode roundingMode
)

Parameters

left  BigFloat
A BigFloat value.
right  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy.
roundingMode  RoundingMode
A RoundingMode value that specifies how the result should be rounded.

Return Value

BigFloat

See Also