float.asin(1f) does not equal float4.asin(float4(1f))

VERIFIED INVALID

Status

Tamarin
Virtual Machine
VERIFIED INVALID
7 years ago
7 years ago

People

(Reporter: Brent Baker, Assigned: Virgil Palanciuc)

Tracking

(Blocks: 1 bug)

unspecified
x86_64
Mac OS X
Bug Flags:
in-testsuite +
flashplayer-qrb +
flashplayer-bug -
flashplayer-triage +

Details

(Reporter)

Description

7 years ago
float4.asin(1f).x|y|z|w does not equal float.asin(1f)

var flt_asin:float = float.asin(1f);
var flt4_asin:float4 = float4.asin(float4(1f));
print(flt_asin == flt4_asin.x);

The representation of the two values is different

float.asin(1f):     00111111 11001001 00001111 11011011
float4.asin():      00111111 11001001 00001111 11011010
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-bug-
(Reporter)

Comment 1

7 years ago
same issue with:
float4.cos(1f).x|y|z|w does not equal float.cos(1f)
(Reporter)

Comment 2

7 years ago
Looking into the latest acceptance run I just did and it appears that this is only failing on OS X 32|64bit

Also failed on win32 interp but jit modes produced the correct results.... Digging deeper
(Reporter)

Comment 3

7 years ago
Test no longer valid as float4 trig functions have been removed from the specification.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Flags: flashplayer-qrb? → flashplayer-qrb+
Resolution: --- → INVALID
(Reporter)

Updated

7 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.