[Webkit-unassigned] [Bug 62629] New: Sputnik math test cases issue
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 14 04:39:27 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62629
Summary: Sputnik math test cases issue
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mahesh.kulkarni at nokia.com
CC: hausmann at webkit.org, laszlo.1.gombos at nokia.com,
tonikitoo at webkit.org, kenneth at webkit.org,
kling at webkit.org
Couple of Sputnik test cases are failing on all browser's
fast/js/sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html
fast/js/sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html
-------------------------------------------------------------
Because "libc's sin(6.28318530717958620000) != Javascript.Math.sin(6.28318530717958620000)"!!
Tested the above javascript on Chrome, Firefox, Opera and QtTestbrowser all results in,
S15.8.2.16_A7
FAIL SputnikError:
x = 6.283185307179586
libc.sin(x) = -2.4492935982947064e-16
Math.sin(x) = -2.4492127076447545e-16
Math.abs(libc.sin(x) - Math.sin(x)) > 1.9721522630525295e-31
-------------------------------------------------------------
Tested few online calculators (for example http://www.calcoolate.com/) and sin(6.283185307179586) results in same value of JS::Math.sin(). Any thoughts on how to fix this?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list