Implemented needed comparisons of ranges against floats.