Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Paprocki
d1daec3e5b Bug 612624 - Fix a missing OmitPrivateMemory in dtoa. r=mrbkap 2010-12-21 13:46:01 -08:00
Jan de Mooij
860241e006 Bug 613492 - Remove Infinity and NaN checks from dtoa, so that isNaN(parseFloat("infinity")). r=jwalden 2010-11-19 13:56:27 +01:00
Luke Wagner
0e3ef5e35e Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) 2010-08-05 13:40:21 -07:00
Jason Orendorff
27dfe81940 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden. 2010-03-22 18:21:10 -05:00
0559d6cc9e 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
996d68a161 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
d5ac584592 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
d11afcae11 Bug 469397 - (0.5).toFixed(0) is 0, should be 1. r=bz,mrbkap 2009-02-07 12:31:10 +01:00
Blake Kaplan
cb9d8b4f75 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
8566aca57a Bug 452346 - Fix latent bug in rv_alloc. r=crowder 2008-08-27 11:43:35 -07:00
Igor Bukanov
31e204f7ed bug 450392 - fixing -Wstrict-aliasing=2 warnings 2008-08-26 10:46:34 +02:00
Brian Crowder
51458105c1 Bug 384244 - update jsdtoa with interesting pieces of more-recent dtoa, r=igor 2008-08-05 11:18:29 -07:00