BigFloat.Subtract Method

Definition

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

Overload List

Subtract(BigFloat, BigFloat) Subtracts one number from another.
Subtract(BigFloat, BigFloat, AccuracyGoal, RoundingMode) Subtracts one number from another and returns the result to the specified accuracy.

Subtract(BigFloat, BigFloat)

Subtracts one number from another.
C#
public static BigFloat Subtract(
	BigFloat left,
	BigFloat right
)

Parameters

left  BigFloat
The number to subtract from.
right  BigFloat
The number to subtract.

Return Value

BigFloat
A 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.
C#
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

BigFloat
A BigFloat number that equals right subtracted from left.

See Also