Re: Random Number Generators in C
Perhaps you can use two atom/sequence pairs to get the 64-bits you need. =
Have a high and low portion, and modify the shift functions to accommodate =
shifting over two sequences.
HTH,
Michael J. Sabal
>>> Joel Crook <joel at MAIL.K-A.COM> 02/10/00 02:06PM >>>
So what I am looking for is one of the following:
a) a documented RNG with a long period that passes at =
least in part
Marsaglia's Diehard Tests
written in Euphoria.
b) a magic bullet that makes Euphoria do 64 bit logical =
operations or an
include file that does so.
c) failing these, some help coding a dll in C that will =
contain the 8
RNGs noted above.
I won't post the C code for the 8 RNGs unless the List thinks it's a good =
idea.
|
Not Categorized, Please Help
|
|