Zach the Mystic:

> But I'm 
> pretty sure uniform is NOT a pure function. In fact, generating random 
> numbers is about as far opposite a "pure" function as you can get, 
> right? :-)

Right, and sorry, I didn't see the function contents.
If I don't run the D code you have to assume it's wrong code.

Regarding pure random generators, I have asked it too:
http://d.puremagic.com/issues/show_bug.cgi?id=5249

Bye,
bearophile

Reply via email to