NaN is never >= 0.0 and NaN is never <= 1.0 so NaN will cause an exception to be thrown.