mwc-random 0.13.1.1 → 0.13.1.2
raw patch · 3 files changed
+2/−67 lines, 3 files
Files
- System/Random/MWC/Distributions.hs +1/−1
- benchmarks/tsts.hs +0/−65
- mwc-random.cabal +1/−1
System/Random/MWC/Distributions.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE BangPatterns #-}+{-# LANGUAGE BangPatterns, GADTs #-} -- | -- Module : System.Random.MWC.Distributions -- Copyright : (c) 2012 Bryan O'Sullivan
− benchmarks/tsts.hs
@@ -1,65 +0,0 @@-{-# LANGUAGE BangPatterns #-}-import Control.Monad-import System.Random.MWC-import System.Random.MWC.Distributions--main = do- withSystemRandom $ \g -> replicateM_ (300*1000) $ do- --- !n <- normal 0 1 g- !n <- normal 0 2 g- !n <- normal 3 3 g- !n <- normal 2 4 g- !n <- normal 2 5 g- !n <- normal 1 6 g- !n <- normal 3 7 g- !n <- normal 3 8 g- !n <- normal 3 9 g- !n <- normal 3 10 g- --- !n <- normal 0 1 g- !n <- normal 0 2 g- !n <- normal 3 3 g- !n <- normal 2 4 g- !n <- normal 2 5 g- !n <- normal 1 6 g- !n <- normal 3 7 g- !n <- normal 3 8 g- !n <- normal 3 9 g- !n <- normal 3 10 g- --- !n <- normal 0 1 g- !n <- normal 0 2 g- !n <- normal 3 3 g- !n <- normal 2 4 g- !n <- normal 2 5 g- !n <- normal 1 6 g- !n <- normal 3 7 g- !n <- normal 3 8 g- !n <- normal 3 9 g- !n <- normal 3 10 g- --- !n <- normal 0 1 g- !n <- normal 0 2 g- !n <- normal 3 3 g- !n <- normal 2 4 g- !n <- normal 2 5 g- !n <- normal 1 6 g- !n <- normal 3 7 g- !n <- normal 3 8 g- !n <- normal 3 9 g- !n <- normal 3 10 g- --- !n <- normal 0 1 g- !n <- normal 0 2 g- !n <- normal 3 3 g- !n <- normal 2 4 g- !n <- normal 2 5 g- !n <- normal 1 6 g- !n <- normal 3 7 g- !n <- normal 3 8 g- !n <- normal 3 9 g- !n <- normal 3 10 g- --- return () :: IO ()-
mwc-random.cabal view
@@ -1,5 +1,5 @@ name: mwc-random-version: 0.13.1.1+version: 0.13.1.2 synopsis: Fast, high quality pseudo random number generation description: This package contains code for generating high quality random