From: matz@... (Yukihiro Matsumoto) Date: 2003-02-13T01:19:26+09:00 Subject: Re: Range#length? Hi, In message "Re: Range#length?" on 03/02/12, Martin DeMello writes: |> Also, speaking of Ranges of Floats, I think the following is a bug: |> |> zem@timbit:~$ ruby -e "(1.0..6.5).step(1.5) {|i| p i}" |> 1.0 |> 2.5 |> 4.0 |> 5.5 |> zem@timbit:~$ ruby -e "(1.0..6.5).step(0.5) {|i| p i}" |> -e:1:in `step': step can't be <= 0 (ArgumentError) |> from -e:1 Yes, thank you for reporting a bug. matz.