On 5/22/07, Dan Zwell <dzwell / gmail.com> wrote: > Roland Mai wrote: > > I need a random number generator that generates random numbers with a > > uniform distribution. > > > > I am not sure what rand does in ruby and I can't seem to find it online > > either. My initial assumption is that it follows a uniform distribution, > > but > > I can't tell. > > > > Any ideas? > > > > Well, I would think that by definition it has a uniform distribution. > Can you give an example of a RNG that does not have a uniform distribution? > > http://xkcd.com/c221.html Just Kidding. -Harold