求n的补码 按位取反再加1 (n^((1<<n.bit_length())-1))+1
求n的补码
按位取反再加1
(n^((1<<n.bit_length())-1))+1