[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 12:07:04 PST 2010


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



--- Comment #6 from bearophile_hugs at eml.cc 2010-11-22 12:05:44 PST ---
(In reply to comment #5)

> I was commenting on the suggested name uniform01.
> Templating the function seemed obvious to me and I was also surprised you
> didn't suggest doing that so I thought I was missing something there.

I don't like the idea of a templated ranged uniform. In most cases is not what
I need or what's better.


> As for speed, as tn mentioned on the newsgroup, subnormal numbers considerately
> slow down calculations.

It's in the link of Comment 4

-- 
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