Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Paprocki
fe9e65f530 Bug 612624 - Fix a missing OmitPrivateMemory in dtoa. r=mrbkap 2010-12-21 13:46:01 -08:00
Jan de Mooij
f9fe8aa15a Bug 613492 - Remove Infinity and NaN checks from dtoa, so that isNaN(parseFloat("infinity")). r=jwalden
--HG--
extra : rebase_source : 52af19d3046baa27cfc65451301eb6d413761986
2010-11-19 13:56:27 +01:00
Luke Wagner
8bb1230898 Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) 2010-08-05 13:40:21 -07:00
Jason Orendorff
60d5805e46 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden.
--HG--
extra : rebase_source : bec4d9441aa2af8488a04aa8604a65b7387cda6d
2010-03-22 18:21:10 -05:00
timeless@mozdev.org
66ade3257d Bug 451187 JS causes a crash in nspr [@ Bfree ]
freedtoa should be marked as static as the data type returned by these implementations does not need to be freed with it
r=crowder
2010-01-13 21:21:52 +01:00
Reed Loden
295cc3e168 Bug 533397 - "Debug builds exit when converting "1e-400" to a Number" [r=gal r=wtc] 2010-01-05 01:13:57 -06:00
Reed Loden
9c07d8dabb Bug 516862: Backported a change from dtoa.c upstream made on 2009-03-01. [r=crowder r=mrbkap]
Here is an excerpt from the 'changes' file describing this change:
"dtoa.c and gdtoa/gdtoaimp.h and gdtoa/misc.c: reduce Kmax, and use
MALLOC and FREE or free for huge blocks, which are possible only in
pathological cases, such as dtoa calls in mode 3 with thousands of
digits requested, or strtod() calls with thousand of digits. For the
latter case, I have an alternate approach that runs much faster
and uses less memory, but finding time to get it ready for distribution
may take a while."
2009-09-17 01:22:51 -05:00
Brian Crowder
7d64f6851c Bug 469397 - (0.5).toFixed(0) is 0, should be 1. r=bz,mrbkap 2009-02-07 12:31:10 +01:00
Blake Kaplan
197604d43a Bug 459606 - Restore long-standing mozilla change to return a non-empty string for the no_digits case. r=crowder 2008-10-13 15:47:36 -07:00
Blake Kaplan
f27c2b3c5f Bug 452346 - Fix latent bug in rv_alloc. r=crowder 2008-08-27 11:43:35 -07:00
Igor Bukanov
5202ccb583 bug 450392 - fixing -Wstrict-aliasing=2 warnings 2008-08-26 10:46:34 +02:00
Brian Crowder
848148a3cd Bug 384244 - update jsdtoa with interesting pieces of more-recent dtoa, r=igor 2008-08-05 11:18:29 -07:00