Fast, high quality pseudo random number generation
  • Overview
  • Builds
  • Updates
  • Bugs
  • Contents
  • Changelog
  • Sources


A library for generating high quality random numbers that follow either a uniform or normal distribution. The generated numbers are suitable for use in statistical applications. The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) multiply-with-carry generator, which has a period of 2^8222 and fares well in tests of randomness. It is also extremely fast, between 2 and 3 times faster than the Mersenne Twister. Compared to the mersenne-random package, this package has a more convenient API, is faster, and supports more statistical distributions.

Active Releases Overview

Release Latest Released Version Version in Testing
{{html release}} 
{{html stable_version}} {{html testing_version}}

Upstream Summary



sharkcz's ghc-mwc-random- tagged into f23 by sharkcz (s390)

Details 2 days ago - 2015-07-01 17:34:32

sharkcz's ghc-mwc-random- completed (s390)

Details 2 days ago - 2015-07-01 17:33:52

sharkcz's ghc-mwc-random- started building (s390)

Details 2 days ago - 2015-07-01 17:28:17


karsten's ghc-mwc-random- tagged into f23 by karsten (ppc)

Details 6 days ago - 2015-06-27 22:52:40

karsten's ghc-mwc-random- completed (ppc)

Details 6 days ago - 2015-06-27 22:51:41

Found a bug? File a ticket. Note: There's some caching going on here. If you expect something and don't see it, check back in 5 minutes.

This Web Site is licensed under the GNU Affero General Public License. You may get sources for the current running code from these repositories: