Calculates whether a number is big or small