www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - critical wrong code

This code fails on 32 bit Linux / FreeBSD.
It is very dangerous bug.
Please pay attention to it!

```
unittest {
     double a, b;
         a = -5.50533e+307;
         b = 4.49423e+307;
     writefln("a = %a, b = %a, (a+b)/2.0 = %a", a, b, (a+b)/2.0);
     assert((a+b)/2.0 > a);
}
```
issue: https://issues.dlang.org/show_bug.cgi?id=15204
Nov 14 2015