[Issue 13474] Discard excess precision for float and double (x87)
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Sep 29 03:30:20 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=13474
Martin Nowak <code at dawg.eu> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu
--- Comment #21 from Martin Nowak <code at dawg.eu> ---
(In reply to yebblies from comment #18)
> Maybe.  The logic in here does seem sound, although again I'm not an expert.
> 
> http://dlang.org/d-floating-point.html
> 
> So the idea is that strict double rounding would be a big performance hit
That doesn't make too much sense, and we shouldn't adapt the language to an x87
"coprocessor", using the old FPU nowadays is a performance hit and should be
avoided unless you absolutely need the extra 16-bits of precision.
As C get's away with it's default behavior, I don't think need to make
-ffast-math our default.
--
    
    
More information about the Digitalmars-d-bugs
mailing list