Li-Fan Chen says to YSITD
x > y = ((x-y)/abs(x-y) +1)/2