https://bugs.winehq.org/show_bug.cgi?id=38266
Bug ID: 38266 Summary: Precision of math functions needs to be improved Product: Wine Version: 1.7.39 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ChanChengCC@gmail.com Distribution: ---
Created attachment 51094 --> https://bugs.winehq.org/attachment.cgi?id=51094 Testcase showing the precision of exp() function
The math functions don't provide enough precision, which causes part of the bugs 37149 and 37150. Attached is a testcase, shows the exp() function holds about 13 precision digits while there are about 16 in Windows/Linux.
https://bugs.winehq.org/show_bug.cgi?id=38266
Kevin Chan ChanChengCC@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ChanChengCC@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38266
Kevin Chan ChanChengCC@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=38266
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=38266
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=38266
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |austinenglish@gmail.com, | |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- bug 37150 has been marked fixed. bug 37149 has a staged patch...
Is there any reason this bug is still open?
https://bugs.winehq.org/show_bug.cgi?id=38266
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Not sure how to test this. I compiled the testcase in mingw and the results in vanilla or patched wine (from bug 37149) is the same: 6741961161019537394602307493150652354869067776.0000000000
If I compile the testcase on Visual Studio 6 the result is (which is the same as XP with this binary): 6741961161019537400000000000000000000000000000.0000000000
Native binary compiled with gcc (same result as mingw): 6741961161019537394602307493150652354869067776.0000000000
So I guess the the compiler is resolving the function on its own and not linking.
https://bugs.winehq.org/show_bug.cgi?id=38266
Akarsha akarsha15010@iiitd.ac.in changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |akarsha15010@iiitd.ac.in