]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/float32-array-nan-inlined.js
6 var intArray
= new Int32Array(1);
8 var floatArray
= new Float32Array(intArray
.buffer
);
9 var element
= foo(floatArray
);
10 var result
= element
+ 1;
11 if (("" + result
) != ("" + x
))
12 throw "Error: bad result for " + a
+ ": " + result
+ ", but expected: " + x
+ "; loaded " + element
+ " from the array";
17 for (var i
= 0; i
< 100000; ++i
)
20 test(0xFFFF0000, 0/0);