python中是否有内置函数将二进制字符串(例如'111111111111')转换为二进制补码整数 -1?
python bit-manipulation twos-complement
bit-manipulation ×1
python ×1
twos-complement ×1