mersenne

Types

MersenneTwister = object
  mt: array[0 .. 623, uint32]
  index: int
  Source Edit

Procs

proc newMersenneTwister(seed: uint32): MersenneTwister {...}{.raises: [], tags: [].}
  Source Edit
proc getNum(m: var MersenneTwister): uint32 {...}{.raises: [], tags: [].}
Returns the next pseudo random number ranging from 0 to high(uint32)   Source Edit