Closed
Bug 610652
Opened 14 years ago
Closed 14 years ago
JM: overflow not handled for x - (-2147483648)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: jandem, Assigned: dvander)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
2.39 KB,
patch
|
dmandelin
:
review+
|
Details | Diff | Splinter Review |
Test case:
---
function a1(a2) {
return 10 - a2;
}
a3 = a1(-2147483648);
print(a3);
---
This should print a positive number (2147483658).
In JM it prints -2147483638.
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Assignee | ||
Updated•14 years ago
|
Assignee: general → dvander
Status: NEW → ASSIGNED
blocking2.0: ? → final+
Assignee | ||
Comment 1•14 years ago
|
||
Nice catch, Jan. Just when I thought the arithmetic path was bug-free!
Attachment #490194 -
Flags: review?(dmandelin)
Updated•14 years ago
|
Attachment #490194 -
Flags: review?(dmandelin) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•