Closed
Bug 695333
Opened 14 years ago
Closed 14 years ago
negate of float4(0f) does not negate if run via interpreter
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: brbaker, Assigned: jodyer)
References
Details
The interpreter is not properly negating a float4(0f) but will properly negate a float4(-0f)
Code:
var flt4zero:float4 = new float4(0f);
print(1/flt4zero.x);
flt4zero = -flt4zero;
print(1/flt4zero.x);
var neg_flt4zero:float4 = new float4(-0f);
print(1/neg_flt4zero.x);
neg_flt4zero = -neg_flt4zero;
print(1/neg_flt4zero.x);
Output with -Dinterp:
float4
Infinity
Infinity
-Infinity
Infinity
Expected Output and output when using -Ojit:
float4
Infinity
-Infinity
-Infinity
Infinity
Testcase: as3/Types/Float4/flt4_5_1_3.as
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-bug-
Comment 1•14 years ago
|
||
Fixed this, but it's now a bug in ASC (doesn't recognize the difference between float4(0f) and float4(-0f) )
| Reporter | ||
Comment 2•14 years ago
|
||
Is there an asc bug entered for this? If not I will enter one.
Flags: flashplayer-qrb? → flashplayer-qrb+
Comment 3•14 years ago
|
||
nope; it's only in the latest ASC, I think.
Updated•14 years ago
|
Assignee: virgilp → jodyer
Fixed in asc-redux: changeset: 49:77ca9961472e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•