标签: c++ c
可能重复: Best Algorithm for Bit Reversal ( from MSB->LSB to LSB->MSB) in C
如何在C ++中镜像32位整数的位(如MSB到LSB;反之亦然)?
例如:1101_0010_....0 to 0...._0100_1011
1101_0010_....0 to 0...._0100_1011