robert bristow-johnson <
[email protected]> wrote:
>On Jul 4, 12:55*am, Nicholas Kinar <n.ki...@usask.ca> wrote:
>> for(int i = 0; i < L; i++)
>> lfsr = (lfsr >> 1) ^ (-(lfsr & 1u) & taps);
>i dunno what the minus sign is for. i don't think it belongs there.
Looks right to me. Read the code again.
Steve