Index: test/mjsunit/asm/float64array-store-div.js |
diff --git a/test/mjsunit/asm/float64array-store-div.js b/test/mjsunit/asm/float64array-store-div.js |
index 10b0011fbc41c083af0144deda068f576f074a5b..0af2ffc28ad9172d1dea3fd60ffc1d160ca2221d 100644 |
--- a/test/mjsunit/asm/float64array-store-div.js |
+++ b/test/mjsunit/asm/float64array-store-div.js |
@@ -6,8 +6,9 @@ function Module(stdlib, foreign, heap) { |
"use asm"; |
var MEM64 = new stdlib.Float64Array(heap); |
function foo(i) { |
- MEM64[0] = (i >>> 0) / 2; |
- return MEM64[0]; |
+ i = i | 0; |
+ MEM64[0] = +(i >>> 0) / 2.; |
+ return +MEM64[0]; |
} |
return { foo: foo }; |
} |