The AC-Random package

[Tags: bsd3, library]

This is a psuedo-random number generator (PRNG). It is designed to replace the standard Haskell '98 PRNG from the random package. It has the following properties:

The actual algorithm is a lag-4 Multiply With Carry (MWC) generator, using 32-bit arithmetic. (Should be fast on 32-bit and 64-bit platforms.) If my algebra is correct, its period should be roughly 1.46 * 10^48. (By constrast, random claims to have a period of only 2.30 * 10^18.)

Note that this algorithm, by itself, is not cryptographically secure.

Changes:


Properties

Version0.1
Dependenciesbase (==4.*)
LicenseBSD3
AuthorAndrew Coppin
MaintainerMathematicalOrchid@hotmail.com
CategoryRandom
Upload dateThu Aug 25 09:34:35 UTC 2011
Uploaded byAndrewCoppin
Downloads145 total (25 in last 30 days)

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees