mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* random.c (init_by_array): imported from mt19937ar-cok.tgz.
(genrand_int32): ditto. (genrand_real): replaced with genrand_res53 in mt19937ar-cok. (rand_init): support bignum for longer seed. (random_seed): generate longer seed. (make_mask): new function. (limited_rand): ditto. (limited_big_rand): ditto. (rb_f_rand): call limited_rand and limited_big_rand. [ruby-dev:25403] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6758fabef3
commit
1d91fd6c44