diff options
Diffstat (limited to 'test/unit.asm.js')
-rw-r--r-- | test/unit.asm.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js index c8d52f3e0..922923ea3 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -1,11 +1,19 @@ function () { "use asm"; + + var t = global.NaN, u = global.Infinity; + function big_negative() { var temp = 0.0; temp = +-2147483648; temp = -2147483648.0; temp = -21474836480.0; } + function importedDoubles() { + var temp = 0.0; + temp = t + u + (-u) + (-t); + } + return { big_negative: big_negative }; } |