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