Fixed float and double comparison rules.