[Bug 36165] msvcrt/string tests fail under valgrind

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 3 08:54:35 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36165

Piotr Caban <piotr.caban at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |piotr.caban at gmail.com

--- Comment #1 from Piotr Caban <piotr.caban at gmail.com> ---
This is a valgrind bug. Strtod uses long double during computations.

>From http://www.valgrind.org/docs/manual/manual-core.html:

Valgrind has the following limitations in its implementation of x86/AMD64
floating point relative to IEEE754.

Precision: There is no support for 80 bit arithmetic. Internally, Valgrind
represents all such "long double" numbers in 64 bits, and so there may be some
differences in results. Whether or not this is critical remains to be seen.
Note, the x86/amd64 fldt/fstpt instructions (read/write 80-bit numbers) are
correctly simulated, using conversions to/from 64 bits, so that in-memory
images of 80-bit numbers look correct if anyone wants to see.

-- 
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