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