Hey i have a quick question regarding dynamic bits. Is there a quick and effective way to reverse bits. (if so how)... i try swapping.. but i get compile time error. so that i can calculate iterative-fft since it requires bit-reverse-copy
for (i = 0; i<num_bits/2; ++i)
swap(b[i], b[i+numbits/2]);