3 <script src=
"../htmlrunner.js"></script>
5 // Copyright (c) 2004 by Arthur Langereis (arthur_ext at domain xfinitegames, tld com)
8 // 1 op = 2 assigns, 16 compare/branches, 8 ANDs, (0-8) ADDs, 8 SHLs
10 function bitsinbyte(b
) {
19 function TimeFunc(func
) {
21 for(var x
=0; x
<100; x
++)
22 for(var y
=0; y
<256; y
++) func(y
);
25 window
.onload = function(){ startTest("sunspider-bitops-bits-in-byte", '245fac8a');
27 test("Bit in byte (2)", function(){