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

          Issue ID: 16259
           Summary: entropy in std.numeric fails in release unittest
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

Just run 

```
make std.numeric.test
```

in an up-to-date Phobos clone, it will fail due to entropy returning -nan.

Funnily adding `writeln(e)` in the foreach solves the problem.

--

Reply via email to