gecko-dev/js
Paul Biggar b94ccc7ec3 Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden)
The spec says parseInt needs to convert to a string before being converted to
an integer. For 1e+21 (and greater), ToString uses exponential notation:
"1e+21", which get's parsed as 1. The existing parseInt fast path for doubles
converted it directly into an integer, giving the result 1e21. The fix adds a
bounds check to see if the exponential notation is triggered, and still uses
the fast path if not.
2011-05-07 05:31:59 -07:00
..
ipc Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan 2011-02-09 11:31:40 -08:00
jetpack Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke 2011-04-28 17:48:52 -05:00
jsd Bug 646380 - jsd_GetValueString needs to null out 'call' after leaving the cross compartment call (r=sphink) 2011-03-31 15:29:44 -04:00
src Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden) 2011-05-07 05:31:59 -07:00