[Issue 13474] Discard excess precision for float and double (x87)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Feb 15 23:05:12 PST 2015


https://issues.dlang.org/show_bug.cgi?id=13474

--- Comment #20 from yebblies <yebblies at gmail.com> ---
(In reply to Илья Ярошенко from comment #19)
>
> C has this problem only when special compiler flags enabled.
> All this algorithms are from Python source code (C) or Wikipedia(C, Pascal).

C does allow you to specify when excess precision should be lost, but it still
has extra precision enabled for intermediate expressions IIUC.  So the problem
still exists, but is easier to work around.

--


More information about the Digitalmars-d-bugs mailing list