Sign in
webkit
/
WebKit
/
9991e22748c12856a57328a7093d023e6d6627f1
/
.
/
JSTests
/
microbenchmarks
/
sin-boolean.js
blob: 12a25d8cc8a0190e728ad9ea8c0d51bbd397356b [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
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
);