diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-18 13:48:38 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-18 13:48:38 -0800 |
commit | 98c318e18c6fc43e851429a2a5e43bac16ae1ee1 (patch) | |
tree | fc52a0dee5f7e454f5b1d0640ba64552b2907b35 /test/unit.asm.js | |
parent | 913114cd027722b8576c83f2bb334701c0b9a518 (diff) | |
download | binaryen-98c318e18c6fc43e851429a2a5e43bac16ae1ee1.tar.gz binaryen-98c318e18c6fc43e851429a2a5e43bac16ae1ee1.tar.bz2 binaryen-98c318e18c6fc43e851429a2a5e43bac16ae1ee1.zip |
handle negative zero properly in asm2wasm
Diffstat (limited to 'test/unit.asm.js')
-rw-r--r-- | test/unit.asm.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js index 5695c3059..7575dfead 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -75,6 +75,9 @@ function () { Math_fround(5.0); Math_fround(0.0); } + function negZero() { + return +-0; + } function z() { } |