random
Bas van Gils
bas.vangils at home.nl
Wed May 30 04:57:43 EDT 2001
On Wed, May 30, 2001 at 04:15:02AM -0400, Tim Peters wrote:
> 6. And if your teacher says he doesn't know how random 6 is, call him an
> idiot and walk out in a huff <wink>.
ok, doesn't make sense to me (yet), but I'll look that one up on the web
(yay, google).
> Seriously, it's impossible to answer this without getting an objective
> definition of "good" from your teacher. Python's random.random() is the std
> Wichmann-Hill generator, and passes most tests for randomness. It's
> certainly better than the rand() function in the typical C library; it's
> certainly worse than, e.g., the Mersenne Twister.
> [snip]
I can work with that. Thanks very much for y're detailed answer.
on-his-way-to-tell-the-news-ly yours
Bas
--
Bas van Gils <bas.vangils at home.nl>
More information about the Python-list
mailing list