Skip to content
lehinsPublic

About

Haskell library that implements PCG pseudorandom number generator

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcgen

License

A fast pseudorandom number generator, as presented by M.E. O'Neill on http://www.pcg-random.org. See that site for information on the particulars of the technique used.

This implementation uses two Word64 of internal data and produces a Word32 of output per step. It's two to three times as fast as StdGen.

The generator implements the RandomGen typeclass from the random package, but also provides its step function as a stand alone function that you can use without the typeclass.

About

Haskell library that implements PCG pseudorandom number generator

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages