Sign in
webkit
/
WebKit
/
6cdbec3e6711cd621019b396b1c96891f8cf0596
/
.
/
JSTests
/
stress
/
fiat-double-to-int52.js
blob: 0697b60568a1e8ee90fbc4fe2ddb1c3896ed7be6 [
file
] [
log
] [
blame
]
var
array
=
new
Float64Array
(
1
);
array
[
0
]
=
42
;
function
foo
()
{
return
fiatInt52
(
array
[
0
])
+
1
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!=
43
)
throw
"Error: bad result: "
+
result
;
}