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/5f710dafI would consider this weakly pure, because the implicit parameter "this" is not immutable. A strongly pure PRNG cannot change internal state.
Formally it is immutable, see line 36.
