[commit: packages/random] new_api: Converted the rest of the numeric types to use randomBits. Fixed randomIvalBits so that it can handle large ranges within a signed type. (6191716)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 15:44:08 UTC 2015


Repository : ssh://git@git.haskell.org/random

On branch  : new_api
Link       : http://git.haskell.org/packages/random.git/commitdiff/6191716f814c286c69ed7358858d4b060d2169f6

>---------------------------------------------------------------

commit 6191716f814c286c69ed7358858d4b060d2169f6
Author: Ryan Newton <rrnewton at gmail.com>
Date:   Tue Jun 28 01:04:00 2011 -0400

    Converted the rest of the numeric types to use randomBits.  Fixed randomIvalBits so that it can handle large ranges within a signed type.


>---------------------------------------------------------------

6191716f814c286c69ed7358858d4b060d2169f6
 Benchmark/SimpleRNGBench.hs | 13 ++-----
 System/Random.hs            | 82 ++++++++++++++++++++++++---------------------
 2 files changed, 46 insertions(+), 49 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 6191716f814c286c69ed7358858d4b060d2169f6


More information about the ghc-commits mailing list