BigFloat.Subtraction Operator

Definition

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

Overload List

Subtraction(BigFloat, BigFloat) Subtracts one number from another.
Subtraction(BigFloat, Int32) Adds two BigFloat numbers.
Subtraction(Int32, BigFloat) Adds two BigFloat numbers.

Subtraction(BigFloat, BigFloat) Operator

Subtracts one number from another.
C#
public static BigFloat operator -(
	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.

Implements

ISubtractionOperators<TSelf, TOther, TResult>.Subtraction(TSelf, TOther)

Remarks

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

Subtraction(BigFloat, Int32) Operator

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

Parameters

left  BigFloat
An integer.
right  Int32
A BigFloat value.

Return Value

BigFloat

Remarks

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

Subtraction(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 relative precisions of left and right.

See Also