Bug 21386 – std.random.uniform!T(urng) when T is int/uint/long/ulong and urng.front is byte/ubyte/short/ushort is not supported but could be

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-11-13T02:48:27Z
Last change time
2024-12-01T16:37:56Z
Assigned to
No Owner
Creator
Nathan S.
Moved to GitHub: phobos#10446 →

Comments

Comment #0 by n8sh.secondary — 2020-11-13T02:48:27Z
std.random.uniform!T(urng) when T is int/uint/long/ulong and urng.front is byte/ubyte/short/ushort is not supported but could be. A reasonable example of when urng.front might be a ubyte is a PRNG based on a stream cipher.
Comment #1 by robert.schadek — 2024-12-01T16:37:56Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10446 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB