From 2a0c02c27d21855ff707ef6cd1cc121066c0ce7e Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 24 Sep 2006 23:14:14 +0000 Subject: * random.c (rb_f_rand): RDoc typo fix. a patch from Frederick Cheung . [ruby-talk:216047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'random.c') diff --git a/random.c b/random.c index 2d335d13f8..8dad78a274 100644 --- a/random.c +++ b/random.c @@ -419,7 +419,7 @@ limited_big_rand(struct RBignum *limit) * than or equal to zero and less than max1. Kernel::srand * 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] -- cgit v1.2.3