Comparison functions evaluate one or two numeric inputs and return a Boolean result after converting values to a common representation. Numeric comparisons involving not a number (NaN) return a not equal result.

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.