Bug 16653 - SpiderMonkey supports larger range in toFixed, toPrecision, toExponential
Summary: SpiderMonkey supports larger range in toFixed, toPrecision, toExponential
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 20:18 PST by Eric Seidel (no email)
Modified: 2010-08-27 13:04 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2007-12-28 20:18:02 PST
SpiderMonkey supports larger range in toFixed, toPrecision, toExponential

see revision 29020

JavaScriptCore vs. SpiderMonekey:
toFixed: 0 to 20 vs. -20 to 100
toPrecision: 1 to 21 vs. 1 to 100
toExponential: 0 to 20 vs. -20 to 100

Our support agrees with the Ecma spec.  Mozilla just decided to be over-achievers.
Comment 1 Gavin Barraclough 2010-08-27 13:04:35 PDT
I don't think we plan on going beyond the spec here.  In absence of real world compatibility concerns, closing.