Quad.CompareTo Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

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

Quad.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)

Quad.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