digitalmars.D.bugs - [Issue 3224] New: std.random documentation bugs
- d-bugmail puremagic.com (18/30) Aug 03 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3224
- d-bugmail puremagic.com (10/10) Aug 04 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3224
- d-bugmail puremagic.com (9/9) Aug 28 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3224
http://d.puremagic.com/issues/show_bug.cgi?id=3224 Summary: std.random documentation bugs Product: D Version: future Platform: All OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: kiki kmonos.netstruct LinearCongruentialEngine(UIntType,UIntType a,UIntType c,UIntType m);should be "Always false"bool empty;Always true (random generators are infinite ranges).alias MinstdRand0; alias MinstdRand;should call .front, instead of .popFront (twice). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------Example:// seed with a constant auto rnd0 = MinstdRand0(1); auto n = rnd0.popFront; // same for each run // Seed with an unpredictable value rnd0.seed(unpredictableSeed); n = rnd0.popFront; // different across runs
Aug 03 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3224 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |andrei metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 04 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3224 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 28 2009