diff options
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md index fd5f353..9839e90 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ *i was extract it. this is a port and not using a crate from crates.io* *because i thought it would be fun and thrilling. i was right)* -https://en.wikipedia.org/wiki/Mersenne_Twister +<https://en.wikipedia.org/wiki/Mersenne_Twister> I've been doing research on Mersenne Twister. Apparently if you seed it poorly, a "bad seed", with a run of lots of 1s of 0s, you can get @@ -16,11 +16,11 @@ This S.O. answer about seeding Mersenne mentions there are other PRNGs that are easier to implement. https://stackoverflow.com/a/8473025 Checked against the (original?) Mersenne Twister website. - https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/emt.html -It has the latest version of the algorithm up at - https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/MT2002/emt19937ar.html +- <https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/emt.html> +It has the latest version of the algorithm up at +- <https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/MT2002/emt19937ar.html> which has output that we can test against here - https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/MT2002/CODES/mt19937ar.out +- <https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/MT2002/CODES/mt19937ar.out> and it all matches! both the u32 generator and the double "real" (f64) generator. |