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