HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulemersenne-random-pure64-0.2.2.0Haskell98

System.Random.Mersenne.Pure64.MTBlock

A purely functional binding 64 bit binding to the classic mersenne twister random number generator. This is more flexible than the impure 'mersenne-random' library, at the cost of being a bit slower. This generator is however, many times faster than System.Random, and yields high quality randoms with a long period.

Contents
  1. Block type
  2. Block functions
  3. Misc functions
Synopsis

Block type

Block functions

Misc functions

MT's word mix function.

(MT applies this function to each Word64 from the buffer before returning it)