2 ms·
This can be used generate all bit sequences over a particular range that have the same Hamming weight. I have needed that before when testing error-correction c
by otherjason 4y ago
This can be used generate all bit sequences over a particular range that have the same Hamming weight. I have needed that before when testing error-correction code decoders to make sure they properly correct all of the possible error patterns that they should be able to.