Function Compare(const void *, const void *)

Function Documentation

int Compare(const void *x, const void *y)

Compares two float values.

Parameters:
  • x – Pointer to the first float value.

  • y – Pointer to the second float value.

Returns:

1 if the first value is greater, -1 if the first value is smaller, 0 if they are equal.