[Bug 17979] New: Suspected Rounding Error

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 8 11:29:41 CDT 2009


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 at winehq.org
        ReportedBy: jimrorie at 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.



More information about the wine-bugs mailing list