* random.c (rb_f_srand): update RDoc. [ruby-core:21113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
639da29270
commit
3c66767bda
@ -1,3 +1,7 @@
|
|||||||
|
Mon Jan 5 07:58:37 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* random.c (rb_f_srand): update RDoc. [ruby-core:21113]
|
||||||
|
|
||||||
Mon Jan 5 06:39:56 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Jan 5 06:39:56 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* range.c (range_max): max value from ... not defined for non
|
* range.c (range_max): max value from ... not defined for non
|
||||||
|
2
random.c
2
random.c
@ -342,7 +342,7 @@ random_seed(void)
|
|||||||
* srand(number=0) => old_seed
|
* srand(number=0) => old_seed
|
||||||
*
|
*
|
||||||
* Seeds the pseudorandom number generator to the value of
|
* Seeds the pseudorandom number generator to the value of
|
||||||
* <i>number</i>.<code>to_i.abs</code>. If <i>number</i> is omitted
|
* <i>number</i>. If <i>number</i> is omitted
|
||||||
* or zero, seeds the generator using a combination of the time, the
|
* or zero, seeds the generator using a combination of the time, the
|
||||||
* process id, and a sequence number. (This is also the behavior if
|
* process id, and a sequence number. (This is also the behavior if
|
||||||
* <code>Kernel::rand</code> is called without previously calling
|
* <code>Kernel::rand</code> is called without previously calling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user