aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorXuejie "Rafael" Xiao <xxuejie@gmail.com>2013-03-06 23:58:29 -0500
committerXuejie "Rafael" Xiao <xxuejie@gmail.com>2013-03-06 23:59:11 -0500
commitd4c9620fb57f1f18d75149b5108aaf127a6fd9ab (patch)
tree667429eed20e6ee1df2335b3d35a033380382da5 /emcc
parent5cb03faced4a10da93f78f674f643b6862855390 (diff)
Move strtod, strtold, strtof, strtod_l, strtold_l, atof from JS side to libc side, this can fix double precision bug in original strtod implementation.1.2.9
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index d54b30f7..fa62acb1 100755
--- a/emcc
+++ b/emcc
@@ -1081,6 +1081,7 @@ try:
os.path.join('libc', 'gen', 'verrx.c'),
os.path.join('libc', 'gen', 'vwarn.c'),
os.path.join('libc', 'gen', 'vwarnx.c'),
+ os.path.join('libc', 'stdlib', 'strtod.c'),
];
for src in libc_files: