diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-24 23:14:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-24 23:14:14 +0000 |
commit | b3251c5c391a06832d358af5f59cf2ce4f4aff6a (patch) | |
tree | a103fb6fca4b58a0990217cd8e6efe386041ca98 | |
parent | 5e46a26d88f676e8ef2205fd1ca63f7fffe41079 (diff) | |
download | ruby-b3251c5c391a06832d358af5f59cf2ce4f4aff6a.tar.gz ruby-b3251c5c391a06832d358af5f59cf2ce4f4aff6a.tar.xz ruby-b3251c5c391a06832d358af5f59cf2ce4f4aff6a.zip |
* random.c (rb_f_rand): RDoc typo fix. a patch from Frederick
Cheung <fred at 82ask.com>. [ruby-talk:216047]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | random.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Sep 25 08:11:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * random.c (rb_f_rand): RDoc typo fix. a patch from Frederick + Cheung <fred at 82ask.com>. [ruby-talk:216047] + Sun Sep 24 22:28:20 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * runruby.rb: extension library scripts moved into common directory. @@ -426,7 +426,7 @@ limited_big_rand(struct RBignum *limit) * than or equal to zero and less than max1. <code>Kernel::srand</code> * may be used to ensure repeatable sequences of random numbers between * different runs of the program. Ruby currently uses a modified - * Mersenne Twister with a period of 219937-1. + * Mersenne Twister with a period of 2**19937-1. * * srand 1234 #=> 0 * [ rand, rand ] #=> [0.191519450163469, 0.49766366626136] |