[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 16:14:10 PDT 2013


--- Comment #1 from Filip Pizlo <fpizlo at apple.com>  2013-05-14 16:12:37 PST ---
(In reply to comment #0)
> On WiiU platform, RESULTS are not displayed correctly when I validate SunSpider 1.0.
> Following each error are displayed and not possible to get total result.
> - 3d-morph : ERROR: Invalid test run.
> - 3d-raytrace : ERROR: Invalid test run.
> - access-nbody : ERROR: Invalid test run.
> - math-spectral-norm : ERROR: Invalid test run.
> It seems the causes of those errors are checking result value of floating-point number.
> In ECMAscript 262, Math.sin and Math.sqrt are not mentioned well.
> So it is better to change the contents to allow the margin of error.(example:reduce digit number)
> Those problems are confirmed on PSvita and other platform also.

Tests that use Math.sin already allow for a large margin of error.

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.

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