Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
JSTests
/
microbenchmarks
/
infer-constant-global-property.js
blob: 35af1bcddfb39271dfb74b1885c718ee99e9493a [
file
] [
log
] [
blame
]
(
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
;
})();