Big Float.Add Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Overload List
Add( | Adds two BigFloat numbers. |
Add( | Adds two numbers and returns the result with the specified accuracy. |
Add( | Adds two numbers and returns the result with the specified accuracy. |
Add(BigFloat, BigFloat)
Adds two BigFloat numbers.
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.
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
BigFloatAdd(BigFloat, BigFloat, AccuracyGoal, RoundingMode)
Adds two numbers and returns the result with the specified accuracy.
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.