Andrei Alexandrescu:

Bearophile has long asked for a one-parameter uniform(n) that does what uniform(0, n) does.

I think that's false (you are maybe confused with my old request for iota(n)).

I have asked for a choice():
http://d.puremagic.com/issues/show_bug.cgi?id=4851


And I have asked for a uniform01() that does what uniform(0.0, 1.0) does. It's a commonly useful need, and it can be generated faster than the generic uniform(a, b):
http://d.puremagic.com/issues/show_bug.cgi?id=5240

Bye,
bearophile

Reply via email to