Source

mwc-random / mwc-random.cabal

The default branch has multiple heads

name:           mwc-random
version:        0.12.0.1
synopsis:       Fast, high quality pseudo random number generation
description:
  This package contains code 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.
license:        BSD3
license-file:   LICENSE
homepage:       https://github.com/bos/mwc-random
bug-reports:    https://github.com/bos/mwc-random/issues
author:         Bryan O'Sullivan <bos@serpentine.com>
maintainer:     Bryan O'Sullivan <bos@serpentine.com>
copyright:      2009, 2010, 2011 Bryan O'Sullivan
category:       Math, Statistics
build-type:     Simple
cabal-version:  >= 1.8
extra-source-files:
  README.markdown
  benchmarks/*.hs
  benchmarks/Quickie.hs
  benchmarks/mwc-random-benchmarks.cabal
  test/*.R
  test/*.sh
  test/visual.hs

library
  exposed-modules:
    System.Random.MWC
    System.Random.MWC.Distributions
    System.Random.MWC.CondensedTable
  build-depends:
    base < 5,
    primitive,
    time,
    vector >= 0.7
  if impl(ghc >= 6.10)
    build-depends:
      base >= 4

  -- gather extensive profiling data for now
  ghc-prof-options: -auto-all

  ghc-options: -Wall -funbox-strict-fields
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

test-suite tests
  buildable:      False
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        tests.hs
  other-modules:  KS
                  QC

  ghc-options:
    -Wall -threaded -rtsopts

  build-depends:
    vector >= 0.7,
    HUnit,
    QuickCheck,
    base,
    mwc-random,
    statistics >= 0.10.1.0,
    test-framework,
    test-framework-hunit,
    test-framework-quickcheck2

source-repository head
  type:     git
  location: git://github.com/bos/mwc-random

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/mwc-random
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.