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

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