Quad.Compare Method
Compares two quadruple-precision numbers.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
-1 if first is less than second; +1 if first is larger than second; 0 if first equals second.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
public static int Compare(
Quad first,
Quad second
)Parameters
Return Value
Int32-1 if first is less than second; +1 if first is larger than second; 0 if first equals second.
Remarks
NaN compares equal to NaN and less than every other value.
Positive and negative zero compare equal.