Bug 16259 – entropy in std.numeric fails in release unittest

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-07-10T00:50:00Z
Last change time
2016-07-18T17:47:11Z
Assigned to
nobody
Creator
greensunny12

Comments

Comment #0 by greensunny12 — 2016-07-10T00:50:29Z
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.
Comment #1 by greeenify — 2016-07-18T17:47:11Z
*** This issue has been marked as a duplicate of issue 16227 ***