Scalar types comprise enumeration types, integer types, and real types.
Integer types and real types are called numeric types. All scalar types are ordered, that is, all relational operators are predefined for their values. If R is less than L, then the range is a null range, and specifies an empty set of values. Otherwise, the range specifies the values of the type from the lower bound to the upper bound, inclusive. A value belongs to a range if it is of the type of the range, and is in the subset of values specified by the range.