Closed
Bug 521196
(a2d-d2a)
Opened 15 years ago
Closed 6 years ago
String->number and number->string issues
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P2)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
WONTFIX
Q1 12 - Brannan
People
(Reporter: lhansen, Unassigned)
References
Details
(Whiteboard: Tracking)
Attachments
(2 files)
Tracking bugs for all bugs in string->number and number->string routines.
Reporter | ||
Updated•15 years ago
|
Whiteboard: Tracking
Reporter | ||
Updated•15 years ago
|
Alias: a2d-d2a
Updated•15 years ago
|
Flags: flashplayer-triage+
Reporter | ||
Comment 1•15 years ago
|
||
There is no evidence that the regular Number.toString() method is broken. I'm attaching two test cases, one in Scheme and one in ActionScript, that print floating-point numbers of known representation. The Scheme code was run on an implementation that is assumed to be correct, because its implementors care[1]. The ActionScript output is identical, except for the case 1.0 where the rules for AS are different anyway.
So it seems that we have problems with the formatting functions toFixed, toPrecision, and toExponential, because these have certain strange rules that our number printer can't handle yet. And it seems like we have problems with number parsing because we're using a naive algorithm.
Reporter | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Priority: P4 → P2
Reporter | ||
Updated•15 years ago
|
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
Updated•14 years ago
|
Flags: flashplayer-bug+
Whiteboard: Tracking → Tracking, must–fix-candidate
Updated•14 years ago
|
Whiteboard: Tracking, must–fix-candidate → Tracking, must-fix-candidate
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Target Milestone: Q3 11 - Serrano → Q1 12 - Brannan
Reporter | ||
Updated•14 years ago
|
Whiteboard: Tracking, must-fix-candidate → Tracking
Reporter | ||
Updated•13 years ago
|
Assignee: lhansen → nobody
Status: ASSIGNED → NEW
Comment 4•6 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 5•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•