Sign in
webkit
/
WebKit
/
36b74c3900290f2598b1d40cf6065a7028fc4a34
/
.
/
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
);