Mia
|
5e30dcd6e7
|
adjust $seed to be at least 4; found and squashed a bug where $seed would be 0; adjust LCG to multiply by the modulus -- without this there seems to be a pattern of 2 or 3s being generated
|
2021-11-08 20:04:51 -05:00 |
|
Mia
|
2be7811576
|
change $m to be created via a power index and * by the seed; this causes seemingly more random results; addtionally, for increasingly large seeds, increasingly random outputs should be reached; always using $1 may be smart
|
2021-10-30 23:35:50 -04:00 |
|
Mia
|
a50a8e83c5
|
change the modulus to be multipled by 2^16 as larger seeds produce more random numbers
|
2021-10-30 23:04:28 -04:00 |
|
Mia
|
109f954026
|
LCG seems to be fully working; if /dev/urandom is missing, generate a onetime seed and save it for later
|
2021-10-30 14:22:54 -04:00 |
|
Mia
|
fec52b177f
|
wip LCG algo
|
2021-10-29 13:59:05 -04:00 |
|
Mia
|
ef11882e5f
|
Initial commit
|
2021-10-29 16:01:55 +00:00 |
|