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 always convert the smaller numbers to the larger numbers. Comparisons with one or two inputs that have the value not a number (NaN) return an undefined value that indicates inequality.