On Thu, 2013-09-12 at 07:02 +0000, Alexander Mai wrote:
> Hello,
> 
>  
> 
> I’m using valgrind 3.8.0 on a SUSE x86_64 system (SLES 11.1). For a
> simple application performing mathematical calculations the behaviour
> changes when running with valgrind (tool does not matter, lackey is
> sufficient to show). Without valgrind anything is fine and the results
> are as expected, but with valgrind the application produces different
> results for some calculations and finally terminates:

See in user manual 
http://www.valgrind.org/docs/manual/manual-core.html#manual-core.limits

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

Your problem might be caused by the above.
Then if you can recompile the complete executable, you might be more
lucky by only using 64 bits floats (using SSE only) and
avoid the 80 bits floats.

Philippe



------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to