Re: More on Random Number Generators in Euphoria
- Posted by Brian Broker <bkb at CNW.COM> Feb 14, 2000
- 581 views
On Mon, 14 Feb 2000 13:22:01 -0500, Everett Williams wrote: >Has anybody run the Euphoria RNG through the Diehard test? I decided to go ahead and look into this. The Diehard test is looking for 32-bit random numbers... The problem with Euphoria's 'rand' function is that it will only produce random numbers up to 0x3FFFFFF (instead of 0xFFFFFFFF). What would be an acceptable method to obtain the required range? Is it acceptable to generate two 16-bit random numbers and concatenate them? Does anybody have any other valid suggestions? I could try all suggested methods and see what works best... -- Brian