Big Float.Subtract Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Subtract( | Subtracts one number from another. |
Subtract( | Subtracts one number from another and returns the result to the specified accuracy. |
Subtract(BigFloat, BigFloat)
Subtracts one number from another.
public static BigFloat Subtract(
BigFloat left,
BigFloat right
)
Parameters
Return Value
BigFloatA BigFloat number that equals right subtracted from left.
Remarks
The precision of the result is the smaller of the absolute precisions of left and right.
Subtract(BigFloat, BigFloat, AccuracyGoal, RoundingMode)
Subtracts one number from another and returns the result to the specified accuracy.
public static BigFloat Subtract(
BigFloat left,
BigFloat right,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- left BigFloat
- The number to subtract from.
- right BigFloat
- The number to subtract.
- 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
BigFloatA BigFloat number that equals right subtracted from left.