[Bug 58372] New: EZNEC pro2+ 7.0 runs, but calculations have errornous exponential values
http://bugs.winehq.org/show_bug.cgi?id=58372 Bug ID: 58372 Summary: EZNEC pro2+ 7.0 runs, but calculations have errornous exponential values Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: johann.woeckinger(a)linznet.at Distribution: --- Created attachment 78782 --> http://bugs.winehq.org/attachment.cgi?id=78782 In the value list, one can see, that the calculated value of the wavelength is wrong by a factor of 10^12 (should be 29.5653) Application can be downloaded from: https://eznec.com/v7download/pro2+download.php The application runs without error messages, but the results of the calculation have wrong exponent values - see example in the attachment. The mantissa values are correct. The program runs well and calculates correct in native windows or in a vm guest. -- 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=58372 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 78788 --> http://bugs.winehq.org/attachment.cgi?id=78788 Testcase and logging at the implementation. I tried to have a look and I could track it down to function oleaut32.VarFormat, which is called with a format "0.#####E-#" and a VT_R4|VT_BYREF variant. The test produces in Windows the expected "2.95653E1". (It is not completely clear if the application also shows exponential format in native Windows.) But in Wine currently the wrong "2.95653E13" is received. https://testbot.winehq.org/JobDetails.pl?Key=158747 This is the place where additional "3" gets added. https://gitlab.winehq.org/wine/wine/-/blob/885446556ce443b496e368b8f2c68807d... For some reason the error did not show up in first tests when starting with a value of 29.5653. The error just started to show up when using some more fractional digits: 29.565331. -- 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=58372 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Component|-unknown |oleaut32 -- 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=58372 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://eznec.com/v7downloa | |d/pro2+download.php -- 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=58372 --- Comment #2 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Currently in "0.#####E-#" the '#' is counted into the fractional digits. Therefore it appends again the fifth fractional digit '3'. Submitted merge request which avoids this: https://gitlab.winehq.org/wine/wine/-/merge_requests/8339 With it the application shows now just "29,5653 m" without any exponential notation. If you build wine yourself, maybe you can give this patch a try. -- 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=58372 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |6080ca7861968ced00ef0503d6d | |69e2e2e13222a --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Merge request got committed, resolving fixed, should appear in next wine release. https://gitlab.winehq.org/wine/wine/-/commit/6080ca7861968ced00ef0503d6d69e2... -- 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=58372 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.11. -- 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)
-
WineHQ Bugzilla