Sign extension is the widening of a signed integer to more bits by copying its sign bit into all the new high bits, which keeps its value in two’s complement: the byte f0 read as a signed char () becomes fffffff0, still . An unsigned value is widened by zeros instead.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表