www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13649] New: uniform01 Assertion failure

https://issues.dlang.org/show_bug.cgi?id=13649

          Issue ID: 13649
           Summary: uniform01 Assertion failure
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: lumi.pakkanen gmail.com

The following program should run forever but instead exits with
core.exception.AssertError std/random.d(1613): Assertion failure.

import std.random;

void main()
{
    while (true){
        uniform01!float;
    }
}

--
Oct 23 2014