Re: Suggestion for 2.4+: Mersenne Twister
- Posted by rforno at tutopia.com Sep 12, 2001
- 497 views
Rod, would you explain the Mersenne Twister algorithm? Thanks. ----- Original Message ----- From: "Rod Jackson" <rodjackson_x at hotmail.com> To: "EUforum" <EUforum at topica.com> Subject: Suggestion for 2.4+: Mersenne Twister > > > Hi all, > > Here's an idea I want to toss out, to > Rob for future versions of Euphoria: > > While Eu's pseudorandom algorithm is > adequate for most purposes, I've found > a good deal of "pattern" in the results > when used "en masse". > > I would suggest that Rob switch to > using the Mersenne Twister; it has > numerous advantages over most other > algorithms. I would make use of it in > IGT myself, with the Euphoria translation > of MT, but an interpreted algorithm > appears to be too slow. > > Downside: it could break code. But then > hopefully any software that *depends* > on rand() for consistency would have > taken into account the idea that the > random-number generator could change. > > Rod Jackson > > >