← Back to index
|
Original Bugzilla link
Bug 13648 – ddoc problem with std.random.uniform01
Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-10-23T02:11:00Z
Last change time
2014-10-23T02:14:14Z
Assigned to
nobody
Creator
r.97all
Comments
Comment #0
by r.97all — 2014-10-23T02:11:25Z
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.
Comment #1
by r.97all — 2014-10-23T02:14:14Z
Excuse me I found it's already fixed:
https://github.com/D-Programming-Language/phobos/commit/3e02fb7772d88ee15a40a610a8b2aa2d1070c8a8