Closed
Bug 478794
Opened 16 years ago
Closed 6 years ago
String -> Number conversion does not work in Boolean comparisons
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: jodyer, Unassigned)
References
Details
as:
var x = "179769313486231580793728971405303415079934132710037826936173778980444968292764750946649017977587207096330286416692887910946555547851940402630657488671505820681908902000708383676273854845817711531764475730270069855571366959622842914819860834936475292719074168444365510704342711559699508093042880177904174497791";
print(Number(x));
print(Number(x) == 1.79769313486231e+308);
Actual Results:
1.79769313486231e+308
false
Expected Results:
1.79769313486231e+308
true - same as spidermonkey
Workaround: none
Transferred Comments:
BugDB Migration - Mon Jun 04 12:33:01 CDT 2007
[cpeyer 10/20/06] Entered Bug.
[cpeyer 10/20/06] Sending to QRB
JIRA Migration Admin - Mon Jun 04 12:33:01 CDT 2007
Milestone ID = 1378
Milestone = FP 10 - Code Complete
Build ID = 22846
Build = AVMPLUS_1_0_0_d686
Fix Build ID = null
Fix Build = null
JIRA Migration Admin - Mon Jun 04 12:33:01 CDT 2007
Move from BugDB issue number 188991
Trevor Baker - Tue Jan 27 16:41:05 CST 2009
send to internal review for prioritization
This bug transferred from: http://bugs.adobe.com/jira/browse/ASC-2294
Comment 1•16 years ago
|
||
Likely a bug in the string->number conversion in the AS3 builtins, which is known not to be entirely compatible with the one used in ASC.
Blocks: AS3_Builtins
Comment 2•15 years ago
|
||
confirmed that the tamarin-redux shell is producing results that do not match spidermonkey
Actual Results:
1.79769313486231e+308
false
Expected Results:
1.79769313486231e+308
true - same as spidermonkey
Flags: flashplayer-triage+
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•