Mail Archives: djgpp/1997/04/30/21:47:15
George Foot wrote:
>
> John Aldrich told you about the libc functions; if you were more
> interested in algorithms to generate random numbers I'd suggest you get
> (or rather, borrow) Knuth's Seminumerical Algorithms - The Art of Computer
> Programming, Volume 2. Half the book is about random numbers, how to
> generate them, how random they are, etc. Only get this if you are heavily
> into mathematics, though!
A MUD server that I'm working with (yes, the one I keep going on and on
about) uses something called the Mitchell-Moore algorithm, from Knuth
Volume II. I don't quite understand the mathematics myself, but it's an
exceptional RNG; I recommend looking at it closely.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| "Starting flamewars since 1993" | http://www.cs.com/fighteer |
| *** NOTICE *** This .signature is generated randomly. |
| If you don't like it, sue my computer. |
---------------------------------------------------------------------
- Raw text -