https://github.com/kripken/emscripten
Raw File
Tip revision: d4c9620fb57f1f18d75149b5108aaf127a6fd9ab authored by Xuejie "Rafael" Xiao on 07 March 2013, 04:58:29 UTC
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.
Tip revision: d4c9620
em++
#!/usr/bin/env python2

'''
See emcc.py. This script forwards to there, noting that we want C++ and not C by default
'''

import os, subprocess, sys
from tools import shared

os.environ['EMMAKEN_CXX'] = '1'
exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:]))

back to top