Daniel suggests a railing part
Part would force output to be within specified range. Infinite values would be railed. How NaNs are handled is an open question.
We could let the user select NaN handling from: set to min or max, set mid range, or last non NaN value.
Should have outputs showing high rail, low rail, and NaN errors.