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.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js
index e539c6139..491f90835 100644
--- a/test/unit.asm.js
+++ b/test/unit.asm.js
@@ -6,6 +6,7 @@ function asm() {
var Double = 0.0;
var Math_fround = global.Math.fround;
var Math_abs = global.Math.abs;
+ var Math_ceil = global.Math.ceil;
function big_negative() {
var temp = 0.0;
@@ -135,6 +136,13 @@ function asm() {
h(i | 0);
}
}
+ function ceiling_32_64(u, B) {
+ u = Math_fround(u);
+ B = +B;
+ var temp = Math_fround(0);
+ temp = Math_fround(Math_ceil(B));
+ temp = Math_fround(u * Math_fround(Math_ceil(Math_fround(B))));
+ }
function z() {
}