MersenneTwister = object mt: array[0 .. 623, uint32] index: int
proc newMersenneTwister(seed: uint32): MersenneTwister {...}{.raises: [], tags: [].}
..
for convenience so that mixing integer types work better. proc getNum(m: var MersenneTwister): uint32 {...}{.raises: [], tags: [].}
© 2006–2018 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/mersenne.html