Anonymous user
Unbias a random generator: Difference between revisions
Updated D entry
(Updated D entry) |
(Updated D entry) |
||
Line 374:
<lang d>import std.stdio, std.random, std.algorithm, std.range, std.functional;
int unbiased(in int bias) /*nothrow*/ {
|