www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18381] New: std.random.uniform01!(double,Mt19937) should

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

          Issue ID: 18381
           Summary: std.random.uniform01!(double,Mt19937) should produce
                    at least 2^^53 distinct values
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

Currently only 2^^32 distinct values are produced because the type of
Mt19937.init.front is `uint`.

--
Feb 05 2018