Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
JSTests
/
stress
/
fiat-double-to-int52-then-fold.js
blob: d2259a1047ba266c3b34db479e201969acf6114f [
file
] [
log
] [
blame
]
function
foo
()
{
return
fiatInt52
(
Math
.
fround
(
42
))
+
1
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!=
42
+
1
)
throw
"Error: bad result: "
+
result
;
}