Looks very interesting; I'll probably play with it a little when I get home.
OTOH, it looked a lot more intersting before I read the code. I was wondering, how do you determinte the a, b, n, and m? Is it possible to write an algo to determinte them for an unknown RNG? Given only M (which seems to be 1<<number of bits of output)? Given nothing? Using srand()? Without changing the seed?
Update:Changed "N" to "M" in "given only N".
In reply to Re: Predict Random Numbers
by theorbtwo
in thread Predict Random Numbers
by no_slogan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |