From: "ara.t.howard" Date: 2008-08-07T07:45:21+09:00 Subject: Re: Need help detecting overlapping ranges On Aug 6, 2008, at 4:36 PM, Bryan Richardson wrote: > Can you elaborate at all? cfp:~ > ruby -e' p ( 0 ... 1 ).to_a ' [0] cfp:~ > ruby -e' p ( 0 .. 1 ).to_a ' [0, 1] one range included the endpoint, one does not. with integer ranges you could guess the prior end point, but not with floats cfp:~ > ruby -e' p ( 0 ... 1.0 ).to_a ' [0] cfp:~ > ruby -e' p ( 0 ... 1.0 ).include?(0.999999999999999) ' true a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama