Very special RNG

Recently, I’ve seen an issue that mentioned using a “special” random number generator from XKCD-221. Unfortunately, I do not remember where it was. But, if you need such RNG, you can get it from here: Xkcd221.jl.

It’s Julia Random API fully conformant drop-in replacement to default RNG. It should work with most build-in numerical types, and functions from Random package.

Thanks to @rfourquet for his work on JuliaRandom ecosystem.

11 Likes

Maybe

? Thanks for implementing it!

1 Like

Haha, that is even super useful (if you want to understand the API)!

1 Like

Very nice feat, I was procrastinating on this issue Mosè mentioned and you made it! And you even managed to fully generalize the solution to any seed! :smiley:

1 Like