Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.9 KB

Changelog.md

File metadata and controls

71 lines (48 loc) · 1.9 KB

0.1.1

  • Drop support for GHCs prior 8.6.5
  • Support GHC-9.12

0.1.0.4

  • Add TestU01 test-suite

0.1.0.3

0.1.0.2

  • Drop time dependency in favour of handcoded initialization
    • On Unix platforms we use /dev/urandom if it exists, otherwise use gettimeofday, clock and getpid.
    • On Windows we use GetCurrentProcessID, GetCurrentThreadId(), GetTickCount, GetSystemTime and QueryPerformanceCounter.
    • On GHCJS use Math.random()
    • Using time is a fallback option (e.g. for Hugs).

0.1.0.1

  • Add INLINEABLE pragmas to bitmaskWithRejection* functions
  • Support GHC-9.0

0.1

  • Drop random dependency unconditionally. #34

0.0.5

  • Add nextInteger
  • Use smaller range in bitmaskWithRejection32 and 64, when upper bound is 2^n - 1. This changes generated values when they were on the boundary.

0.0.4

  • Add bitmaskWithRejection32' and bitmaskWithRejection64' which generate numbers in closed range [0, n]. Unticked variants generate in closed-open range [0, n).

0.0.3

  • Add System.Random.SplitMix32 module
  • Add bitmaskWithRejection32 and bitmaskWithRejection64 functions
  • Add nextWord32, nextTwoWord32 and nextFloat
  • Add random flag, dropping dependency on random (breaks things, e.g. QuickCheck, when disabled).

0.0.2

  • Support back to GHC-7.0
  • Add Read SMGen instance

0.0.1