This is a Journal entry by Sten

Plans for entry on random number generation

Post 1

Sten

I am thinking about adding entries on random number generation. This is a topic that I know something about, especially when it's not done right. Examples would include the old Netscape bug, where the generator included only the time of day and the process ID. A reference that I consider to be canonical on this topic is the paper by Peter Gutmann (also available as a chapter in his PhD thesis).

Of course, linear congruential generators (and hence Knuth) would have to be mentioned, but I believe that LCPRNGs are unsuitable for many applications of random numbers, partly because those numbers "stay mainly in the planes" and are hence not random enough in higher dimensions.

Other generators to be mentioned include RANDU (yuck!), the Blum-Blum-Shub generator, and Yarrow.

If you have more interesting things to say about generating random numbers, let me know.


Key: Complain about this post

Plans for entry on random number generation

More Conversations for Sten

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more