From: "Bartosz DziewoƄski" Date: 2013-03-21T01:28:13+09:00 Subject: Re: Why was the object_id for true and nil changed in ruby2.0? On Wed, 20 Mar 2013 17:22:57 +0100, Bharadwaj Srigiriraju wrote: > Hans Mackowiak wrote in post #1102451: >> hm okay, Flonums may be not the reason because they are only in 2.1dev >> >> a = 1.1 + 1.2 >> b = 1.1 + 1.2 >> p(a.object_id == b.object_id) >> >> this shows true on 2.1, its false on 2.0p0 > > This shows true in my system too, but my ruby -v is ruby 2.0.0p0 > (2013-02-24 revision 39474) [x86_64-linux], not 2.1. This only should be true on 64bit Ruby 2.0. -- Matma Rex