Actions
Bug #6313
closed[rdoc] clarify that srand(number) is not default 0
Description
Since srand(0) is not the default, attempt to clarify that.
Files
Actions
Like0
Like0Like0
Added by rogerdpack (Roger Pack) about 13 years ago. Updated about 13 years ago.
Description
Since srand(0) is not the default, attempt to clarify that.
Files
clarify_default_not_zero.diff (457 Bytes) clarify_default_not_zero.diff | rogerdpack (Roger Pack), 04/18/2012 02:16 AM |
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.
Both Random.new and srand call Random.new_seed so I updated the documentation of each based on your patch.