Sign in
webkit
/
WebKit
/
6cdbec3e6711cd621019b396b1c96891f8cf0596
/
.
/
JSTests
/
stress
/
ftl-arithtan.js
blob: b936c6eccd4890641888aaa657658f1d56ce590e [
file
] [
log
] [
blame
]
function
foo
(
x
)
{
return
Math
.
tan
(
x
);
}
noInline
(
foo
);
var
expected
=
foo
(
100000
-
1
);
var
j
=
0
;
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
j
=
foo
(
i
);
if
(
expected
!=
j
){
throw
`
Error
:
$
{
j
}`;
}