summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-30 12:55:04 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-30 12:55:04 +0000
commitadfc6afb26fc26bdc31e0080599f54fe27a8d4ac (patch)
tree7cfb4086c1e961b59574fb86557aff4a7cbdbb1f /test/ruby
parente82650b7c52b66aeba45365ee725fcd7067f1a0c (diff)
downloadruby-adfc6afb26fc26bdc31e0080599f54fe27a8d4ac.tar.gz
ruby-adfc6afb26fc26bdc31e0080599f54fe27a8d4ac.tar.xz
ruby-adfc6afb26fc26bdc31e0080599f54fe27a8d4ac.zip
* random.c (init_genrand): ensure invariant of mt->next and mt->left.
mt->next should always equal mt->state + N + 1 - mt->left. In fact, 'r = Random.new(0); r == r.dup' has returned false. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions