Bug 21160 - x=0;1/(x*-1) goes to the wrong infinity.
Summary: x=0;1/(x*-1) goes to the wrong infinity.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 19:01 PDT by Gavin Barraclough
Modified: 2008-10-12 18:01 PDT (History)
1 user (show)

See Also:


Attachments
The patch (8.39 KB, patch)
2008-10-09 15:50 PDT, Gavin Barraclough
zwarich: review+
Details | Formatted Diff | Diff
The patch too (10.94 KB, patch)
2008-10-09 16:50 PDT, Gavin Barraclough
zwarich: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2008-09-26 19:01:13 PDT
Negative-zero makes me sad. :'-(
Comment 1 Gavin Barraclough 2008-10-09 15:50:48 PDT
Created attachment 24242 [details]
The patch

No performance change
Comment 2 Cameron Zwarich (cpst) 2008-10-09 15:57:40 PDT
Comment on attachment 24242 [details]
The patch

r=me, but you need to add a test (or change existing test results to match this).
Comment 3 Gavin Barraclough 2008-10-09 16:50:35 PDT
Created attachment 24245 [details]
The patch too
Comment 4 Cameron Zwarich (cpst) 2008-10-09 16:54:19 PDT
Comment on attachment 24245 [details]
The patch too

r=me
Comment 5 Darin Adler 2008-10-12 18:01:12 PDT
http://trac.webkit.org/changeset/37453