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