Sign in
webkit
/
WebKit
/
e09d042529d2a1743f2407ed7df038bc31301831
/
.
/
Source
/
JavaScriptCore
/
tests
/
stress
/
ftl-arithcos.js
blob: 78a1f5fc302f22bc6c67bb2dfaf2854da6f4a346 [
file
] [
log
] [
blame
]
function
foo
(
x
)
{
return
Math
.
cos
(
x
);
}
noInline
(
foo
);
var
j
=
0
;
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
j
=
foo
(
i
);
if
(-
0.5098753724179009
!=
j
){
throw
"Error"
}