Re: Getting randomic integers
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Getting randomic integers
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2010年1月17日 09:14:33 -0200
> the math.random function is of poor quality
To be precise, ANSI C makes no guarantees for its statistical properties.
However, in Linux, with gnu libc, it does have good statistical properties.
Apparently, not so for Mac OS X or Windows, if I remember correctly.
"man srand" in Mac OS X even says "rand, srand -- bad random number generator".
"