summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-24 23:14:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-24 23:14:14 +0000
commit2a0c02c27d21855ff707ef6cd1cc121066c0ce7e (patch)
tree82a3e56929a5188fad73f283edb6ae0b3534ad37 /random.c
parent84103149613d2125dbc0f4b2a3c6318463ca589a (diff)
* random.c (rb_f_rand): RDoc typo fix. a patch from Frederick
Cheung <fred at 82ask.com>. [ruby-talk:216047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
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. <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]