Home Dashboard Directory Help
Search

std::ifstream/std::ofstream change double value by Mariusz102102


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 566516
Opened: 6/10/2010 11:06:45 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Save and load "double" value with use std::ifstream/std::ofstream to/from txt file change double value.
Problem exist only for some specific values (it is not only one double value) like:
0.0070850229047457131
In my application average, every 50'th double value is saved\loaded incorrect.
Other compilers i.e. gcc works fine.
Details
Sign in to post a comment.
Posted by Microsoft on 11/1/2010 at 4:44 AM
Hi,

Thanks for reporting this bug. We've fixed it, and the fix will be available in VC11.

If you have any further questions, feel free to E-mail me at stl@microsoft.com .

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by Microsoft on 6/10/2010 at 8:13 PM
Thank you for reporting the issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.These specialized experts will follow-up with your issue.
Posted by Microsoft on 6/10/2010 at 5:05 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.