decreasing size of data
【程序编程相关:JAVA代码编写的30条建议 】for unsigned numbers: 【推荐阅读:[系列第2篇]《共享软件走向国际指南》 】
for signed numbers: 【扩展信息:[系列第3篇]《顿悟:SW该怎么做》】
all the bits being removed must be 0 ! bits being removed must be all 1´s or 0´s and the first bit not being removed must have the same value as the removed ones.increasing size of data
for unsigned numbers:
all the new bits of the expanded number should be 0 !for unsigned numbers:
the new bits must be copies of the sign bit.