[Issue 13648] New: ddoc problem with std.random.uniform01
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Oct 22 19:11:25 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13648
Issue ID: 13648
Summary: ddoc problem with std.random.uniform01
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P1
Component: websites
Assignee: nobody at puremagic.com
Reporter: r.97all at gmail.com
http://dlang.org/phobos/std_random.html#uniform01 :
>>
uniform01 offers a faster generation of random variates than the equivalent
uniform!"["(0.0, 1.0)) and so may be preferred for some applications.
<<
which should be:
... equivalent uniform!"[)"(0.0, 1.0) and ....
In https://github.com/D-Programming-Language/phobos/blob/master/std/random.d it
goes
> $(D uniform!"[$(RPAREN)"(0.0, 1.0))
However I don't know how to fix.
--
More information about the Digitalmars-d-bugs
mailing list