I have a c code given to me to fill for my thesis. Can you please explain what the following segment does, because i'm very buffled with it.
int i;
_int8 codeword[64800];
//loop running through codeword
if (codeword[i << 1] << 1 | codeword[i << 1 | 1])
{
//more code here
}
where i is a loop counter and codeword[] is an 1d matrix of ones and zeros
I mostly seek explanation of the operations taking place if, for example, codeword[i] is 1.