Returns -2 if both x & y of a is less than b Returns -1 if either x/y of a is less than b

Returns 2 if both x & y of a is greater than b Returns 1 if either x/y of a is greater than b's x/y

Returns 0 if x/y of a and b are equal

  • Parameters

    Returns number