A strongly pure PRNG

qznc qznc at web.de
Tue Jan 7 04:37:38 PST 2014


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.


More information about the Digitalmars-d mailing list