Closed Bug 704813 Opened 13 years ago Closed 6 years ago

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

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: brbaker, Unassigned)

Details

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-
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
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
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
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
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.