Up to [cvs.NetBSD.org] / pkgsrc / devel / hs-splitmix
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/hs-splitmix: Fix build with GHC 9.8 This breaks build with the currently default GHC 9.6. Please bear with me until I switch the default compiler.
devel/hs-splitmix: Update to 0.1.0.5 No change log is provided by the upstream.
devel/hs-splitmix: Fix build with GHC 9.4
Update to splitmix-0.1.0.3
0.1.0.3
* Fix oops bugs in 0.1.0.2
- It's lowercase windows.h. I blame Microsoft docs for using capital
case Windows.h in the
docs. https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getprocessid
- accidental shiftL vs shiftR mixup for 32-bit generator
initialization. Doesn't affect Linux.
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. https://github.com/phadej/splitmix/issues/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).
hs-*: add PLIST files These PLIST files have been autogenerated by mk/haskell.mk using HS_UPDATE_PLIST=yes during a bulk build. They will help to track changes to the packages. The Haskell packages didn't have PLIST files because their paths contained package hashes. These hashes are now determined by mk/haskell.mk, which makes it easy to generate easy to read PLIST files.