pcgen: A fast, pseudorandom number generator.

[ apache, library, random ] [ Propose Tags ]

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 particular implementation uses two Word64 of internal data and produces a Word32 of output per step. On 64-bit machines it's two to three times as fast as StdGen and uses the same amount of space.


[Skip to Readme]
Versions 1.0.0, 2.0.0, 2.0.1 (info)
Dependencies base (>=4.7 && <5), random (<=1.1) [details]
License Apache-2.0
Copyright 2017 Daniel Gee
Author Daniel "Lokathor" Gee
Maintainer zefria@gmail.com
Category Random
Home page https://github.com/Lokathor/pcgen-hs
Uploaded by Lokathor at Wed Jul 5 02:34:40 UTC 2017
Distributions NixOS:2.0.1
Downloads 645 total (17 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-07-05 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for pcgen-2.0.1

[back to package description]

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.