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