https://issues.dlang.org/show_bug.cgi?id=14958
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from [email protected] --- (In reply to Steven Schveighoffer from comment #6) > I think that's where I see there is an issue. Only when you actually assign > it to a double does it become concretely double. With -O that doesn't cut it either. ---- void main() { import std.stdio; double x = 1.2; double d = x * 10.0; writeln(cast(ulong) d); } ---- `dmd test.d && ./test` -> 12 `dmd -O test.d && ./test` -> 11 --
