If you think you've found a show-stopping bug in a core function that others have been using successfully for years or decades, it's a good idea to examine your own code before declaring it a bug in Perl.
My understanding is not that the OP claimed to have found a bug in rand, but asked a question because his or her tests did not behave as expected. OK, the test was buggy, and it is very good that you pointed out where the mistake is, but no reason to be harsh on the OP. After all, we all make mistakes (well, at least I do), actually, making mistakes is a great way to learn how not to make them again.In reply to Re^2: Perl rand() generates larger numbers for small sample size, bug!
by Laurent_R
in thread Perl rand() generates larger numbers for small sample size, bug!
by ravipatel4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |