Correct NaN handling in fpu comparisons.