https://issues.dlang.org/show_bug.cgi?id=17862
Issue ID: 17862
Summary: std.random.XorshiftEngine.min is wrong when bits == 32
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
XorshiftEngine.min is defined as 0 regardless of template parameters
but an XorshiftEngine cannot produce a value of zero if its internal
state has the same number of bits as the output element type.
--
