位操作(一)—— 截断(保留低位,保留高位) 低位:k least significant bits; 高位:k most significant bits; 1. 截断保留低位 def _int32(x): return int(0xFFFFFFFF & x)