diff options
-rw-r--r-- | src/parseTools.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index eaf0b91e..4feeb441 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -959,9 +959,9 @@ function asmInitializer(type, impl) { function asmCoercion(value, type) { if (isIntImplemented(type)) { - return value + '|0'; + return '((' + value + ')|0)'; } else { - return '+' + value; + return '(+(' + value + '))'; } } |