[Issue 18327] std.random.XorshiftEngine is parameterized by UIntType but only works with uint

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 15 15:49:33 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18327

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/c99a1855f612ac476aa9318a17efc31a97b325b7
Fix Issue 18327 - std.random.XorshiftEngine is parameterized by UIntType but
only works with uint

Also:
* Add ability to specify shift directions.
* Allow arbitrary XorshiftEngine sizes instead of predefined list only.
* Except when array is small, use index to make speed of `popFront`
  independent of array size.

https://github.com/dlang/phobos/commit/ac2c7c627deaa137dd72bd043370a9f85d2afb62
Merge pull request #6424 from n8sh/xorshift-18327

Fix Issue 18327 - std.random.XorshiftEngine is parameterized by UIntType but
only works with uint
merged-on-behalf-of: Nicholas Wilson <thewilsonator at users.noreply.github.com>

--


More information about the Digitalmars-d-bugs mailing list