LDC 0.11.0 Beta 3

bearophile bearophileHUGS at lycos.com
Fri Jun 7 17:53:46 PDT 2013


> I have found another bug that is less easy to reduce...

I have localized it, it took some time:


import std.math: fmod;
import std.stdio: printf;
void main() {
     double r = fmod(2.3 + 3.0, 3.0);
     printf("%f\n", r);
}


...>dmd -run test.d
2.300000

...>ldmd2 -run test.d
0.000000

Bye,
bearophile


More information about the digitalmars-d-ldc mailing list