[Webkit-unassigned] [Bug 16651] New: WebKit and JavaScriptCore in printing toFixed, toPrecision, toExponential
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 28 20:11:24 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16651
Summary: WebKit and JavaScriptCore in printing toFixed,
toPrecision, toExponential
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
WebKit and JavaScriptCore in printing toFixed, toPrecision, toExponential
As part of r29020 I checked in results which agree with Firefox.
Pretty much all of the failures are intentional (range) differences from
Firefox. There are a couple failures which I am uncertain about:
FAIL (1234.567).toPrecision(21) should be 1234.56700000000000728. Was
1234.56700000000000000.
FAIL (1234.567).toFixed(20) should be 1234.56700000000000727596. Was
1234.56700000000000000000.
FAIL (123.456).toExponential(20) should be 1.23456000000000003070e+2. Was
1.23456000000000000000e+2.
I'm not sure why there would be junk at the end of the values from firefox, but
perhaps that's just part of the ECMA algorithm. We'll need to decide, and
either file a bug with Firefox or chose to be different.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list