[Issue 14139] GIT HEAD : PI now has wrong value

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Feb 16 01:35:19 PST 2015


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|---                         |WONTFIX

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Temtaime from comment #4)
> I'm using MSVC 2013 with /O2 /GL /Gw /fp:fast.
> 
> Can /fp:fast have an effect on DMD ? I'll with /GL and without /fp:fast,
> okay.

According to Microsoft documentation, /fp:fast will:

"Creates the fastest code in most cases by relaxing the rules for optimizing
floating-point operations. This enables the compiler to optimize floating-point
code for speed at the expense of accuracy and correctness."

 -- https://msdn.microsoft.com/en-us/library/e7s85ffb.aspx

I interpret that as meaning "insert random bugs in floating point code".

DMD is not designed to work with that, and was certainly never tested with
that. I'm going to mark this as WONTFIX. The only supported build options are
the ones in the VS solution included with DMD.

--


More information about the Digitalmars-d-bugs mailing list