If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Math|Number.cos() returns different values when x is Number.MAX_VALUE on 32bit windows and linux

NEW
Unassigned

Status

Tamarin
Virtual Machine
6 years ago
6 years ago

People

(Reporter: Brent Baker, Unassigned)

Tracking

unspecified
x86
Windows 7
Bug Flags:
in-testsuite +
flashplayer-qrb ?
flashplayer-bug -
flashplayer-triage +

Details

(Reporter)

Description

6 years ago
Windows and Linux 32bit builds of the shell return a different value than all other 64bit builds and the 32bit OSX builds:

Code:
Number.cos(Number.MAX_VALUE);
Math.cos(Number.MAX_VALUE);

expected:     -0.9999876894265599
win|lnx 32bit: 0.9057811022070704

Testmedia: as3/Types/Number/cos.as
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-bug-

Comment 1

6 years ago
changeset: 7010:e0e3ed3b4a0d
user:      Brent Baker <brbaker@adobe.com>
summary:   Bug 704813: track expected failure of Number.cos(Number.MAX_VALUE) on win|lin 32bit.

http://hg.mozilla.org/tamarin-redux/rev/e0e3ed3b4a0d

Comment 2

6 years ago
changeset: 7135:b8e5e4d8f5b4
user:      Brent Baker <brbaker@adobe.com>
summary:   Bug 704813: skip test when running 32vs64 differential testing as 32bit shells produce different results

http://hg.mozilla.org/tamarin-redux/rev/b8e5e4d8f5b4

Comment 3

6 years ago
changeset: 7138:57cfadae79ca
user:      Brent Baker <brbaker@adobe.com>
summary:   Bug 704813: actually skip the testcase instead of an expectedfail

http://hg.mozilla.org/tamarin-redux/rev/57cfadae79ca

Comment 4

6 years ago
changeset: 7142:1675400799ff
user:      Brent Baker <brbaker@adobe.com>
summary:   Bug 704813: skip the entire as3/Types/Number/cos.as test when running 32bit vs 64bit differential testing

http://hg.mozilla.org/tamarin-redux/rev/1675400799ff
You need to log in before you can comment on or make changes to this bug.