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