I did a random sampling of 10,000 random numbers in two separate groups :
for (0..10000) { print rand()."\n" } It seemed to consistently revert towards a mean of 0.50 (i.e. results(1) = 0.503; results(2) = 0.498). I also broke those into groups of 100 and seemed to get the same results. That makes me think that any results that seemed to favor higher numbers was probably random. -----Original Message----- From: Robert Howard [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 4:31 PM To: [EMAIL PROTECTED] Subject: rand() function Is there a statistically better solution for generating random numbers than Perl's built in rand() function? I noticed a couple modules on CSPAN, but are they any better? I haven't done a true test of the spread regular rand() gives, but it seems to me to give numbers closer to the top of the range specified more often then numbers at the bottom of the range. R.A. Howard -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]