int cmp(num a, num b)
num - any numeric type (int or fixed)
Compares two numbers and returns the result:
1
0
-1
cmp(1, 2) -> -1 cmp(1, 1) -> 0 cmp(2, 1) -> 1