[rdoc] clarify that srand(number) is not default 0
Since srand(0) is not the default, attempt to clarify that.
Updated by drbrain (Eric Hodel) over 8 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r35393.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- random.c (random_init): Clarify that the default seed is
Random.new_seed, not zero. Based on patch by Roger Pack.
[ruby-trunk - Bug #6313]
- random.c (rb_f_srand): ditto.