aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js5
-rw-r--r--tests/test_core.py2
-rw-r--r--tools/shared.py2
3 files changed, 6 insertions, 3 deletions
diff --git a/src/library.js b/src/library.js
index af37130c..c41a8cda 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1970,7 +1970,10 @@ LibraryManager.library = {
}
next = {{{ makeGetValue(0, 'textIndex+1', 'i8') }}};
}
- if (precision === -1) precision = 6; // Standard default.
+ if (precision === -1) {
+ precision = 6; // Standard default.
+ precisionSet = false;
+ }
// Handle integer sizes. WARNING: These assume a 32-bit architecture!
var argSize;
diff --git a/tests/test_core.py b/tests/test_core.py
index 826437b1..c89e785e 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -3555,7 +3555,7 @@ ok
def test_strtod(self):
if self.emcc_args is None: return self.skip('needs emcc for libc')
- if not self.is_le32(): return self.skip('le32 needed for accurate math')
+ if not self.is_le32(): return self.skip('le32 needed for accurate math')
src = r'''
#include <stdio.h>
diff --git a/tools/shared.py b/tools/shared.py
index efca1a85..32f8f797 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -345,7 +345,7 @@ def find_temp_directory():
# we re-check sanity when the settings are changed)
# We also re-check sanity and clear the cache when the version changes
-EMSCRIPTEN_VERSION = '1.8.7'
+EMSCRIPTEN_VERSION = '1.8.8'
def generate_sanity():
return EMSCRIPTEN_VERSION + '|' + get_llvm_target() + '|' + LLVM_ROOT + '|' + get_clang_version()