Bug 126345

Summary: Math.imul gives wrong results
Product: WebKit Reporter: Jeff Muizelaar <jmuizelaar>
Component: JavaScriptCoreAssignee: Geoffrey Garen <ggaren>
Status: RESOLVED FIXED    
Severity: Normal CC: alonzakai, ggaren, oliver, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mhahnenberg: review+

Description Jeff Muizelaar 2013-12-31 09:41:34 PST
Math.imul(0xffffffff, 5) is -5 in Firefox and Chrome
in Safari 7.0.1 it returns 0.
Comment 1 Radar WebKit Bug Importer 2014-01-02 15:39:02 PST
<rdar://problem/15741114>
Comment 2 Geoffrey Garen 2014-02-20 17:35:07 PST
Created attachment 224812 [details]
Patch
Comment 3 Mark Hahnenberg 2014-02-20 17:38:35 PST
Comment on attachment 224812 [details]
Patch

r=me
Comment 4 Geoffrey Garen 2014-02-20 17:56:06 PST
Committed r164461: <http://trac.webkit.org/changeset/164461>