Sign in
webkit
/
WebKit
/
7d815df5a5eb5a0a67d72260d5639681d50d7f66
/
.
/
JSTests
/
microbenchmarks
/
mod-boolean-double.js
blob: 42f58703209f90e67acef7ce7291e18d7a497bda [
file
] [
log
] [
blame
]
(
function
(
True
)
{
var
x
=
42.5
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
%=
True
;
if
(
x
!=
0.5
)
throw
"Error: bad result: "
+
x
;
})(
true
);