diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 08:59:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 08:59:03 +0000 |
commit | 7f8e5584649b1bba6d30d78c661a1b1eca28340e (patch) | |
tree | 33905f3ad17c9ea5fba4476602b6e61a7b5e5f95 /ChangeLog | |
parent | dd83dd6bda20f701ce637031532be14a165f1de1 (diff) | |
download | ruby-7f8e5584649b1bba6d30d78c661a1b1eca28340e.tar.gz |
random.c: rb_random_ulong_limited
* random.c (rb_random_ulong_limited): new function to return a random
value from 0 upto limit as unsigned long, simillary to
rb_genrand_ulong_limited but with arbitrary RNG object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Tue Oct 9 17:59:00 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * random.c (rb_random_ulong_limited): new function to return a random + value from 0 upto limit as unsigned long, simillary to + rb_genrand_ulong_limited but with arbitrary RNG object. + Tue Oct 9 17:13:27 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and |