Comparison of points on a number line