[Webkit-unassigned] [Bug 40367] Math Javascript Bug on Safari 5 (webkit 533.16) under "32bit" mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 10 20:02:31 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40367
--- Comment #8 from Oliver Hunt <oliver at apple.com> 2010-06-10 20:02:29 PST ---
(In reply to comment #1)
> Actually changing it to 30 bits as mentioned above has other multiplication/subtraction issues, so it is not a fix.
Also it was papering over the issue -- basically the issue is that a right shift of a value that is internally stored as a double fails to correctly set the integer flag on the internal value at the end of the shift. A few work arounds are possible but it depends on exactly what's happening.
If the issue is specifically an expression of the form
a >> n | 0
My question is what range of values do you expect a to have?
(a | 0) >> n
Should produce the desired result (if my understanding of what you're trying to do is correct)
--
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