[Bug 17979] New: Suspected Rounding Error
http://bugs.winehq.org/show_bug.cgi?id=17979 Summary: Suspected Rounding Error Product: Wine Version: 1.0.1 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: jimrorie(a)logisys.biz I am running confidence tests on some mass spectrometry software to verify that it works the same under wine as it does under windoze. Pretty much everything is working with the exception of file conversion. I'm seeing rounding errors in the text file output. Not sure which side they are on, but consistently, the least significant digit is '3' on windows and '2' under ubuntu. No other digits are involved. Here is a sample diff: diff compare/test.10008.10008.4.dta comparewin/test.10008.10008.4.dta 213c213 < 1163.312 84.55 ---
1163.313 84.55
diff compare/test.10154.10154.4.dta comparewin/test.10154.10154.4.dta 592c592 < 1387.812 26.53 ---
1387.813 26.53
diff compare/test.10208.10208.4.dta comparewin/test.10208.10208.4.dta 187c187 < 1413.062 17.90 ---
1413.063 17.90
I am using a clean 1.0.1 with winetricks installed mfc42 and vcrun6. Could be printf type formatting error. The trace+all file is about 2GB. I cut a section out that shows a dive into the widechar/printf stuff that may be of interest. Source data is a 300MB vendor binary data file and this program is the conversion software, so I can't cut it down to make it more manageable. If someone can give me a filter for the trace, I will supply it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 --- Comment #1 from Jim Rorie <jimrorie(a)logisys.biz> 2009-04-08 11:31:36 --- Created an attachment (id=20341) --> (http://bugs.winehq.org/attachment.cgi?id=20341) Trace Snippet -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-04-08 23:58:57 --- Does native msvcrt (install with winetricks) make any difference? Also please test with 1.1.18. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead(a)gmail.com --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-07-26 05:35:41 --- Hi, Jim. Does setting msvcrt to native (as suggested) change anything? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 --- Comment #4 from Jim Rorie <jfrorie(a)gmail.com> 2009-07-27 09:37:11 --- (In reply to comment #3)
Hi, Jim. Does setting msvcrt to native (as suggested) change anything?
I just verified. Setting msvcrt to native on under winecfg resulted in a perfect match. I then ran it again with msvcrt set back to wine(default) and the rounding error reappeared. It's consistent. Using Native msvcrt ----------------- diff comparewin/test.9923.9923.4.dta Compare_New_Linux/test.9923.9923.4.dta jfrorie(a)medusa:~/Projects/ApolloData$ Under Wine msvcrt --------------------------- diff comparewin/test.9923.9923.4.dta Compare_New_Linux/test.9923.9923.4.dta 178c178 < 1200.813 427.92 ---
1200.812 427.92 jfrorie(a)medusa:~/Projects/ApolloData$
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-07-27 11:15:20 --- (In reply to comment #4)
I just verified. Setting msvcrt to native on under winecfg resulted in a perfect match. I then ran it again with msvcrt set back to wine(default) and the rounding error reappeared. It's consistent.
Ok, is it true for 1.1.26? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2010-09-07 15:26:05 CDT --- Can this program be downloaded anywhere (perhaps a demo)? Is this still an issue in current (1.3.2 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 --- Comment #7 from Jim Rorie <jfrorie(a)gmail.com> 2010-09-07 16:58:21 CDT --- I no longer have access to the software to test this problem. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2010-09-07 17:05:57 CDT --- (In reply to comment #7)
I no longer have access to the software to test this problem.
Since it can no longer be tested then, let's mark it abandoned. Thanks for letting us know. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2010-09-07 17:12:15 CDT --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17979 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead(a)gmail.com | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org