Closed
Bug 424461
Opened 16 years ago
Closed 16 years ago
[builtins] Math.min and Math.max don't distinguish between -0 and 0
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 401095
People
(Reporter: lhansen, Unassigned)
Details
Undiagnosed whether this is a problem with ESC not handling -0 properly or whether Math.min(0,-0) does not handle -0 properly. This should be -Infinity: es> print(Infinity/Math.min(0,-0)) Infinity
Reporter | ||
Comment 1•16 years ago
|
||
Clearly this is a problem with Math.min, since: es> print(Infinity/-0) -Infinity Math.max is just as bad: es> print(Infinity/Math.max(-0,0)) -Infinity
Summary: Negative zero woes → Math.min and Math.max don't distinguish between -0 and 0
Reporter | ||
Updated•16 years ago
|
Summary: Math.min and Math.max don't distinguish between -0 and 0 → [builtins] Math.min and Math.max don't distinguish between -0 and 0
Reporter | ||
Updated•16 years ago
|
Component: Self-hosting compiler (ESC) → Virtual Machine
This is caused by the same reason as bug 401095.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•