From 98c318e18c6fc43e851429a2a5e43bac16ae1ee1 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 18 Nov 2015 13:48:38 -0800 Subject: handle negative zero properly in asm2wasm --- test/unit.asm.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/unit.asm.js') 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() { } -- cgit v1.2.3