Fix floating point comparison warnings.