Comparing integers without equality/inequality operator