Why is the sum computed if a NaN is present? Wouldn't this automatically give NaN?