Class GorgonEpsilonFloatComparer
A comparer for comparing floating point values using epsilon equality.
Inherited Members
Namespace: Gorgon.Collections
Assembly: Gorgon.Core.dll
Syntax
public class GorgonEpsilonFloatComparer : IComparer<float>
Methods
| Edit this page View SourceCompare(float, float)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(float x, float y)
Parameters
Type | Name | Description |
---|---|---|
float | x | The first object to compare. |
float | y | The second object to compare. |
Returns
Type | Description |
---|---|
int | A signed integer that indicates the relative values of |