www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13648] New: ddoc problem with std.random.uniform01

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 puremagic.com
          Reporter: r.97all 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. --
Oct 22 2014