Quad.CompareTo Method

Definition

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

Overload List

CompareTo(Double) Compares a number to another number.
CompareTo(Quad) Compares a number to another number.

CompareTo(Double)

Compares a number to another number.
C#
public int CompareTo(
	double other
)

Parameters

other  Double
A number.

Return Value

Int32
-1 if this number is less than other; +1 if this number is larger than other; 0 if this number equals other.

Implements

IComparable<T>.CompareTo(T)

CompareTo(Quad)

Compares a number to another number.
C#
public int CompareTo(
	Quad other
)

Parameters

other  Quad
A number.

Return Value

Int32
-1 if this number is less than other; +1 if this number is larger than other; 0 if this number equals other.

Implements

IComparable<T>.CompareTo(T)

See Also