Compile-Time RNG
Brian Schott via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 20 17:00:01 PST 2016
On Wednesday, 20 January 2016 at 23:21:04 UTC, CTRNG wrote:
> I managed to create a compile-time random number generator.
>
> Proof of concept, with some explanatory comments:
> http://dpaste.dzfl.pl/668646ce6d71
>
> Just thought this might be of interest to some of you here.
That's nearly as fun as using the bsr and bsf functions in
core.bitop to implement a pure random number generator.
https://issues.dlang.org/show_bug.cgi?id=14380
More information about the Digitalmars-d
mailing list