Comparing Numeric Values

Most of the Comparison functions test one input or compare two inputs and return a Boolean value. The functions convert numbers to the same representation before comparing them. The functions convert each input to the largest representation needed to make an accurate comparison. Comparisons with one or two inputs that have the value not a number (NaN) return a result that indicates that the comparison was not equal.