On Wed, Jul 03, 2002 at 06:22:09AM +0900, Harry Ohlsen wrote:
> > >   (0..3) === 3.2    # false
> > >   (0...4) === 3.2   # true
> >
> > I see!  So I should think of them as:
> >
> > (0..3)   0 <= x <= 3
> > (0...4)  0 <= x <  4
> >
> > That makes (a lot of) sense.
> 
> That explains why they're considered different, but can someone explain what 
> the 3.2 is in the first section of code above?  How did Minero know to use 
> that as the value to test against?

3.2 is the number 3.2, three and two tenths, three point two.
It is greater than three and less than four so it matches only one of
the two above expressions.  3.7, 3.1, etc. would work just as well.

-- 
      Evan Martin
martine / cs.washington.edu
  http://neugierig.org