Bug 18381 – std.random.uniform01!(double,Mt19937) should produce at least 2^^53 distinct values

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-05T23:49:11Z
Last change time
2024-12-01T16:32:30Z
Assigned to
No Owner
Creator
Nathan S.
Moved to GitHub: phobos#10305 →

Comments

Comment #0 by n8sh.secondary — 2018-02-05T23:49:11Z
Currently only 2^^32 distinct values are produced because the type of Mt19937.init.front is `uint`.
Comment #1 by n8sh.secondary — 2018-02-05T23:56:03Z
Comment #2 by n8sh.secondary — 2018-02-07T21:09:44Z
See the comments at pull request #6128 for why this could be a breaking change for existing projects.
Comment #3 by robert.schadek — 2024-12-01T16:32:30Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10305 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB