Displaying 1 result from an estimated 1 matches for "i2_32m1".
Did you mean:
i23281
2003 Jan 09
1
RNG.c: unif_rand, MARSAGLIA_MULTICARRY (PR#2437)
...al:
Marsaglia in his post to the mailing list {\it sci.stat.math} on September 29,
1997.
The last line in the R program has a ^
while Marsaglia's algorithm has a +.
This gives very different random number generators.
The full line in RNG.c is:
return ((I1 << 16)^(I2 & 0177777)) * i2_32m1; /* in [0,1) */