digitalmars.D.bugs - [Issue 17862] New: std.random.XorshiftEngine.min is wrong when bits
- d-bugmail puremagic.com (17/17) Sep 26 2017 https://issues.dlang.org/show_bug.cgi?id=17862
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: nobody puremagic.com Reporter: n8sh.secondary hotmail.com 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. --
Sep 26 2017