to check range of shortint