JuliaLang/julia — Issue #329: float ranges: mismatch between length and bounds error
Author: StefanKarpinski
Created: 2012-01-05 22:23:44+00:00
State: open
Labels: bugs

```
julia> r = 2.0^53-2:2.0^53+3
9.00719925474099000e+15:9.00719925474099600e+15

julia> r[1]
9.00719925474099000e+15

julia> r[2]
9.00719925474099100e+15

julia> r[3]
9.00719925474099200e+15

julia> r[4]
9.00719925474099200e+15

julia> r[5]
9.00719925474099400e+15

julia> r[6]
9.00719925474099600e+15

julia> r[7]
9.00719925474099600e+15

julia> r[8]
9.00719925474099600e+15

julia> r[9]
BoundsError()
in ref, /Users/stefan/projects/julia/j/range.j:76
in run_repl, /Users/stefan/projects/julia/j/client.j:22
in _start, /Users/stefan/projects/julia/j/client.j:134

julia> length(r)
7
```