Created attachment 1003 [details] testcase See testcase. Tested with DMD v2.053. Only bin64/dmd fails, bin32/dmd gets it right. Happens with float and double, but not with real. Does not happen with int values.
Apparently, this has been fixed in v2.055.
(In reply to comment #1) > Apparently, this has been fixed in v2.055. Probably a duplicate of bug 6270.