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