On Wednesday, 8 January 2014 at 01:13:12 UTC, deadalnix wrote:
On Tuesday, 7 January 2014 at 12:37:39 UTC, qznc wrote:
On Tuesday, 7 January 2014 at 12:32:23 UTC, Kagamin wrote:
I believe, bearophile was interested in this - a strongly pure immutable Xorshift32(1) PRNG: http://dpaste.dzfl.pl/5f710daf

I would consider this weakly pure, because the implicit parameter "this" is not immutable. A strongly pure PRNG cannot change internal state.

Without this, http://dilbert.com/strips/comic/2001-10-25/

Nice :)

Of course, mandatory xkcd PRNG:
https://d.puremagic.com/issues/show_bug.cgi?id=11138

You know, it *is* pure...

Reply via email to