Better handling of (often unintentionally entered) NaN and infinity values.