Closed Bug 694990 Opened 13 years ago Closed 13 years ago

float4.AS3::toString() does not appear to pass the radix value into float.toString()

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: brbaker, Assigned: virgilp)

References

Details

According to the float4 spec draft 12, 

4.6.1 AS3 function toString ( radix=10 ) : String
Let v be this float4 value. The resulting string is the concatenation of the following strings:
1. v:x.AS3::toString(radix)

This should call float.AS3::toString(radix) with the x component of the float4, but this appears to not be passing down the radix value into the float.toString()

var foo:float4 = new float4(10f);
print(foo.AS3::toString(2));

Actual output:
10,10,10,10

Expected output:
1010,1010,1010,1010,

Testcase: as3/Types/Float4/flt4_4_6_1.as
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-bug-
fixed in changeset 234:4b713b846e24
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: flashplayer-qrb? → flashplayer-qrb+
You need to log in before you can comment on or make changes to this bug.