Sign in
webkit
/
WebKit
/
5e7c33646a4e21127522a77725369b92c7b98c66
/
.
/
JSTests
/
microbenchmarks
/
infer-constant-global-property.js
blob: 01874cba44ae783552f28e58096d8a58d3f5eecd [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
function
()
{
var
result
=
0
;
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
result
+=
Math
.
sin
(
Math
.
PI
);
}
if
(
Math
.
abs
(
result
)
>
1e-8
)
throw
"Error: bad result: "
+
result
;
})();