fix #6364: float ranges honor length if specified
Merge pull request #6613 from stevengj/rangelength

fix #6364: float ranges honor length if specified