Fraction comparison trick revisited

7 points by freetonik