Displaying 1 result from an estimated 1 matches for "numbrers".
Did you mean:
numbers
2004 Feb 29
1
LCG with modulo 2^30
I can't run a function which generates random numbrers using linear
congruential generator. My multiplier is a=5+8^6, increment is b=1 and
modulo is m=2^30.
the code I have written works for modulo upto m=2^28.
For m= 2^29 , it says, can not allocate memory for the vector or something
like that.
For m= 2^31 or more, its says the argument "f...