Sign in
webkit
/
WebKit
/
6372d18ed2fb0e5306b33bd85febb537c2fcf56a
/
.
/
JSTests
/
microbenchmarks
/
sin-boolean.js
blob: 2475256b1d47a9bd28125717c810b22bf1225e78 [
file
] [
log
] [
blame
]
(
function
(
True
)
{
var
x
=
0
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
=
Math
.
sin
(
True
);
if
(
x
!=
Math
.
sin
(
1
))
throw
"Error: bad result: "
+
x
;
})(
true
);