[Mono-list] Random

Bob Smith bob@thestuff.net
25 Jul 2001 16:16:32 -0600


I've got the random class just about done. The random class has virtual
methods for each of the random methods, so we can override it later as
needed.

On 25 Jul 2001 16:10:44 -0400, Miguel de Icaza wrote:
> 
> > I've been looking over the System.Random class. Do we need to use the same
> > algorithm as Microsoft? The rest looks pretty easy.
> 
> I guess the only restriction on the random algorithm would be to have
> the condition that the same seed would generate the same set of
> numbers on each iteration (which seems to be something that is
> explicitly documented in the interface).
> 
> That being said, we could provide also access to a `truly' random
> system by taping for example on Linux on /dev/urandom.  That could be
> a separate class
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>