[Webkit-unassigned] [Bug 116085] SunSpider 1.0: Regarding checking result of floating-point number

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 14 23:13:19 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=116085





--- Comment #2 from Tanaka <tanachuta at gmail.com>  2013-05-14 23:11:45 PST ---
(In reply to comment #1)

Thank you for your comment.

> For Math.sqrt, you should provide more details.  While it's true ECMAScript says very little about math precision, I don't think we don't want to go down the path of loosening SunSpider's validation unless we know exactly why we are doing it.

Please check my Math.sqrt investigation as below.

- 3d-raytrace
-- Cause of error: floating-point number error of polynomial including Math.sqrt
-- Test contents : Check string length of Java Script code for canvas
-- expected value: 20970
-- WiiU value    : 21009
-- Proposed      : validate number (not validate string length)

- access-nbody
-- Cause of error: floating-point number error of polynomial including Math.sqrt
-- Test : Total value of calculated result
-- expected value: -1.3524862408537375
-- WiiU value    : -1.3524862408537381 (last number and second last number are not same)
-- Proposed      : validate 10 digit floating point numbers

- math-spectral-norm
-- Cause of error: floating-point number error of polynomial including Math.sqrt
-- Test          : Total value of calculated result
-- expected value: 5.086694231303284
-- WiiU value    : 5.086694231303283 (last number is not same)
-- Proposed      : validate 10 digit floating point numbers

-- 
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