i believe l will be 0 for any value of i and j becuase
for example
if i= 00011 (3) j=00001 (1) then 3 right shift will do i=11000 j=01000
and & with 1 will do
i=0 j=0 and
xor 0=l
I don't understand why using this rather than computational speed up.
is there any equivalent ordinary formula.
I can see i>>3=i*8 but what about & and ^?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.