Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
JSTests
/
stress
/
ftl-arithcos.js
blob: 3c3ced74572adde6badd7c8b3a5bc4d82a6b7037 [
file
] [
log
] [
blame
]
//@ skip if $hostOS == "windows"
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"
}