[Issue 5240] Faster std.random.uniform() for [0.0, 1.0) range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 22 09:45:54 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5240



--- Comment #4 from bearophile_hugs at eml.cc 2010-11-22 09:44:33 PST ---
(In reply to comment #3)
> I am probably missing something, but what is wrong with uniform!(0,1) ?
> Then you can add optimizations for all the special cases you want.

Currently uniform() uses run-time arguments, not template ones.

--------------------------------------

See also:

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=122634

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list