2010/4/21 Yusuke Endoh <redmine / ruby-lang.org>: >> 1) Seeding sometimes ignores the high bit of seed data. >> >> Random.new((1<<64)-1).rand == Random.new((1 << 65) -1).rand >> # => true, should be false > > I really agree that this is uncool. > Incidentally, I prefer removing MSB to current implementation. I guess it is worse in the sense of the reporter. Probably it causes Random.new(2**32).rand == Random.new(2**33).rand == Random.new(2**34).rand == ... Random.new(2**63).rand. -- Tanaka Akira