[Issue 15147] std.random.uniform return value depends on integer size

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 31 18:09:58 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #1 from Seb <greensunny12 at gmail.com> ---
I just ran into this when trying to add more/better public examples for
std.random (https://github.com/dlang/phobos/pull/6393).

Normally, examples can be done by seeding the RNG and thus _knowing_ the
sequence of the PRNG.
The current behavior is really nasty.

--


More information about the Digitalmars-d-bugs mailing list