Returns the value closer to one.
If either value is NaN, then the result is NaN.
NaN
If a == b, then the result is a.
a == b
a