summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit.asm.js2
-rw-r--r--test/unit.wast6
2 files changed, 8 insertions, 0 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js
index f737a3ddc..80bab6242 100644
--- a/test/unit.asm.js
+++ b/test/unit.asm.js
@@ -8,6 +8,8 @@ function () {
temp = +-2147483648;
temp = -2147483648.0;
temp = -21474836480.0;
+ temp = 0.039625;
+ temp = -0.039625;
}
function importedDoubles() {
var temp = 0.0;
diff --git a/test/unit.wast b/test/unit.wast
index 346286b18..2c16af17d 100644
--- a/test/unit.wast
+++ b/test/unit.wast
@@ -16,6 +16,12 @@
(set_local $temp
(f64.const -21474836480)
)
+ (set_local $temp
+ (f64.const 0.039625)
+ )
+ (set_local $temp
+ (f64.const -0.039625)
+ )
)
)
(func $importedDoubles