https://bugs.kde.org/show_bug.cgi?id=359950
Tom Hughes <t...@compton.nu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED CC| |t...@compton.nu --- Comment #1 from Tom Hughes <t...@compton.nu> --- Please read the "limitations" section of the manual at http://valgrind.org/docs/manual/manual-core.html#manual-core.limits especially the part about x86 floating point, and in particular this: "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." That is likely why your program behaves differently under valgrind. Your program is essentially not well defined anyway though, as floating point calculations are always imprecise so you should not expect to be able to compare a floating point result for equality with an integer version of the same calculation. -- You are receiving this mail because: You are watching all bug changes.