Bug 16653

Summary: SpiderMonkey supports larger range in toFixed, toPrecision, toExponential
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: barraclough, gavin.sharp, webmaster
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   

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.