Re: 32-bit random numbers
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jul 03, 2004
- 565 views
Andy Serpa wrote: > Juergen Luethje wrote: >> >> Hi all, >> >> for Euphoria's function rand(x), x may only be from 1 to the largest >> positive value of type integer (#3FFFFFFF). >> >> I would like to have a function, that can take any unsigned 32-bit integer >> -- i.e. in the interval [0,#FFFFFFFF] -- as argument. Any ideas? > > I believe the Mersenne Twister library in the archive generates 32-bit > integers... Yes, it does. Thanks, Andy! The archive -- and this mailing list -- are really "treasures of knowledge". Regards, Juergen