summaryrefslogtreecommitdiff
path: root/tests/rand.mjs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Node.js -> GoEuAndreh2024-03-251-55/+0
|
* tests/rand.mjs: Add MersenneTwister random number generatorEuAndreh2024-03-201-0/+55
The `tests/rand.c` is also added: a simplified adaptation of the original algorithm implementation in C. A 10k numbers test case shows that the JavaScript version behaves the same that the C one does.