Closed
Bug 709760
Opened 14 years ago
Closed 14 years ago
[ASC BUG] String(float.MAX_VALUE) is constant-folded incorrectly
Categories
(Tamarin Graveyard :: Tools, defect, P2)
Tamarin Graveyard
Tools
Tracking
(Not tracked)
VERIFIED
FIXED
Q2 12 - Cyril
People
(Reporter: lhansen, Assigned: lhansen)
References
Details
ASC constant-folds String(float.MAX_VALUE) as the string "340282346638528859811704183484516925440", which is wrong - the correct result should be the same as String(Number(float.MAX_VALUE)).
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → lhansen
| Assignee | ||
Comment 1•14 years ago
|
||
Bug in stringValue() in Ast.java, looks like it was unfinished code.
| Assignee | ||
Comment 2•14 years ago
|
||
asc-float:
changeset: 84:7ab1763f7046
tag: tip
user: Lars T Hansen <lhansen@adobe.com>
date: Mon Dec 12 15:32:43 2011 +0100
summary: Fix 709760 - [ASC BUG] String(float.MAX_VALUE) is constant-folded incorrectly
tr-float:
changeset: 7062:4973768a0603
tag: tip
user: Lars T Hansen <lhansen@adobe.com>
date: Mon Dec 12 15:33:44 2011 +0100
summary: Fix 709760 - [ASC BUG] String(float.MAX_VALUE) is constant-folded incorrectly; test case; new asc.jar
| Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•14 years ago
|
||
BTW float4 had the same problem.
Test media pushed to tr-float/test/acceptance/as3/asc/float-max-value-as-string.as.
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•