[Webkit-unassigned] [Bug 52810] [Qt] 9 tests have different results on 64 bit and/or in debug mode compared to 32 bit and/or release mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 03:30:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=52810





--- Comment #10 from Zoltan Herczeg <zherczeg at webkit.org>  2011-06-07 03:30:14 PST ---
Seems SVGPreserveAspectRatio::getCTM is the culrpit. This is an insane x86+compiler specific issue.

Let's see the following division: 400000/600

as for (float)400000/(float)600 = 666.666687
as for (double)400000/(double)600 = 666.666667

However, forcing the value to "float" is not necessary happen. If the value is already stored in the correct (argument passing) register, the gcc optimizes out the "float" conversion, keeping the value as it is now.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list