* Sean Russell (ser / germane-software.com) [020603 12:40]:
> Yukihiro Matsumoto wrote:
> > No, NaN should not be equal each other in any case, by its definition
> > (IEEE 754).  I don't know why Sean get "true".
> 
> Since I appear to be the only person who sees this, I'm guessing that my 
> Ruby installation is broken somehow.

I see it too, though it's ruby 1.6.4 on this machine:

irb(main):052:0> (0/0.0)==(0/0.0)
true
irb(main):053:0> (0.0/0.0)==(0.0/0.0)
true
irb(main):054:0> (0/0)==(0/0)
ZeroDivisionError: divided by 0
        from (irb):54:in `/'
                from (irb):54
$ ruby -v
ruby 1.6.4 (2001-06-04) [i586-linux-gnu]

While on a slightly more recent install:

$ ruby -v
ruby 1.6.5 (2001-09-08) [i386-freebsd4.4]
$ irb
irb(main):001:0> (0/0.0)==(0/0.0)
false

Rick
-- 
 http://www.rickbradley.com    MUPRN: 406    (92F/98F)
                       |  It's like having your
   random email haiku  |  own private search agent 24x7.
                       |  It's quick. It's easy.