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: nob...@puremagic.com
          Reporter: n8sh.second...@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.

--

Reply via email to