diff options
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 77925876..a6f2e35e 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -1198,9 +1198,8 @@ function asmEnsureFloat(value, type) { // ensures that a float type has either 5 function asmInitializer(type, impl) { if (type in Runtime.FLOAT_TYPES) { - var ret = RUNNING_JS_OPTS ? '+0' : '.0'; - if (FROUND && type === 'float') ret = 'Math_fround(' + ret + ')'; - return ret; + if (FROUND && type === 'float') return 'Math_fround(0)'; + return RUNNING_JS_OPTS ? '+0' : '.0'; } else { return '0'; } |