Permalink
Commits on Jun 29, 2011
Commits on Jun 28, 2011
  1. The tests are failing with stack overflow on large random Integers (2…

    …^5000). This represents a genuine problem, but for now I'm commenting out the relevant tests to get things passing. This problem and several others are fixed on the new_api branch.
    rrnewton committed Jun 28, 2011
  2. Fix trac #5280 #5278. Actually this has been a gradual fix over many …

    …revs.
    
    But in this revision I make a stronger assumption about genBits and do away with unimplemented cases.
    So this is the first candidate full replacement for the master branch with the old (incorrect)
    function definitions completely removed and replaced.
    rrnewton committed Jun 28, 2011
  3. merge

    rrnewton committed Jun 28, 2011
  4. Added README.md for github.

    rrnewton committed Jun 28, 2011
  5. Converted the rest of the numeric types to use randomBits. Fixed rand…

    …omIvalBits so that it can handle large ranges within a signed type.
    rrnewton committed Jun 28, 2011
Commits on Jun 27, 2011
  1. minor: DEVLOG notes

    rrnewton committed Jun 27, 2011
  2. Merged patch from master.

    rrnewton committed Jun 27, 2011
  3. Converted Float/Double randomR methods to simply use the existing ran…

    …dom methods to generate a coefficient.
    rrnewton committed Jun 27, 2011
  4. Intermediate checkin. Fixes for randomIvalBits. Still a couple corner…

    … cases to handle before its even a full candidate, however.
    rrnewton committed Jun 27, 2011
  5. Intermediate checkin. Fixed one bug with the order of type conversion…

    …/shifting. Right now trying to fix randomIvalBits behavior on (signed) Ints.
    rrnewton committed Jun 27, 2011
  6. Intermediate checkin. First draft of randomIvalBits replacement for r…

    …andomIvalIntegral. It's unfinished but shows promise.
    rrnewton committed Jun 27, 2011
  7. Added randomBits based on genBits. This yields a performance improvem…

    …ent across most Random types.
    rrnewton committed Jun 27, 2011
  8. Rearranged module organization for Benchmark. Added Makefile and more…

    … comparison against other RNGs on hackage.
    rrnewton committed Jun 27, 2011
Commits on Jun 26, 2011
  1. Extended the float fix to Doubles. Fixed a bug introduced by the last…

    … checkin. next is not a sufficient substitute for randomBounded in the Int instance. It doesn't have sufficient genRange.
    rrnewton committed Jun 26, 2011
  2. Fixed performance dent for random generating Ints. I can't explain wh…

    …y it was slower than other types using randomBounded, but this patch circumvents the problem by using next directly.
    rrnewton committed Jun 26, 2011
  3. Tweaked SimpleRNGBench to be warning-free as well and added some addi…

    …tional tests of randomR alongside random.
    rrnewton committed Jun 26, 2011