Search

Differences in rounding/calculations between .NET 4 and 4.5 by dgeyzel

Active

1
0
Sign in
to vote
Type: Bug
ID: 776938
Opened: 1/18/2013 1:43:02 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
An executable was run on one machine with .NET 4 installed and one machine with .NET 4.5 installed. A series of calculations were performed on an identical set of inputs from one input file. The resulting numerical answers should be identical between both machines but the answers from the .NET 4.5 machine differ from those on the .NET 4 machine (which are validated to be correct). Sample output is provided in the attached forms. It cannot be determined by us which operations or functions cause this discrepancy but it has been isolated to a .NET 4 versus 4.5 issue. All testing conducted on 4 and 4.5 machines produces consistent results.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

.NET Framework 4.5

Steps to reproduce

Executable running input file produces different output based .NET version installed on machine. Executable could be provided if follow-up required.

Product Language

English

Operating System

Windows 7 SP1

Operating System Language

English

Actual results

Results from executable running on machine with .NET 4.5

1.600E+01 2.964E-02 2.964E-02
1.700E+01 3.239E-02 3.239E-02
1.800E+01 3.507E-02 3.507E-02
1.900E+01 3.793E-02 3.793E-02
2.000E+01 4.060E-02 4.060E-02
2.100E+01 4.313E-02 4.313E-02

Expected results

Results from executable running on machine with .NET 4

 1.600E+01 2.963E-02 2.963E-02
1.700E+01 3.238E-02 3.238E-02
1.800E+01 3.506E-02 3.506E-02
1.900E+01 3.792E-02 3.792E-02
2.000E+01 4.059E-02 4.059E-02
2.100E+01 4.312E-02 4.312E-02
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 1/29/2013 at 11:57 PM
Hi, given that we have not heard back from you in these days. We will go ahead and close this Connect Issue. If you get a chance to review and provide the information requested earlier, you can go ahead and reactivate this issue.
Posted by Microsoft on 1/24/2013 at 12:21 AM
I am currently standing by for an update from you and would like to know how things are going on your end. If you could get back to me at your earliest convenience with information I request, we will be able to make headway towards a resolution. I look forward to hearing from you.
Posted by Microsoft on 1/20/2013 at 6:54 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 1/18/2013 at 1:50 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.