Sign in
webkit
/
WebKit
/
919aeb989a73073e2f1d75e53d7d882b3cc61ca8
/
.
/
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
;
}