summaryrefslogtreecommitdiff
path: root/test/unit.asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.asm.js')
-rw-r--r--test/unit.asm.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js
index f002965ec..cfe99e0f3 100644
--- a/test/unit.asm.js
+++ b/test/unit.asm.js
@@ -607,6 +607,15 @@ function asm(global, env, buffer) {
return;
}
+ function f32_ucast(x) {
+ x = x | 0;
+ return Math_fround(x>>>0);
+ }
+ function f32_scast(x) {
+ x = x | 0;
+ return Math_fround(x|0);
+ }
+
function v() {
}
function vi(x) {