Previous  Next

Compare

Compares two values of type T.

int Compare(
    x,     // the first value
    y      // the second value
   );

Parameters

x

[in]  The first value to compare.

y

[in]  The first value to compare.

Return Value

Returns a number that expresses the ratio of the two compared values: