checks for not finite range (+Inf, -Inf, NaN)

NOTE that the +Inf, -Inf and NaN are covered by the REP 117
http://www.ros.org/reps/rep-0117.html