原码,反码,补码,移码转换
https://raw.githubusercontent.com/tai769/image-tai/master/20210814/原码补码移码.50oud8okkok0.jpg
原码和反码 整数表示范围 -(2^n-1) <= x<= (2^n-1) 小数表示范围 -(1-2^n)<=x<=1-2^n
补码 整数表示范围 -2^n<= x<=(2^n-1). 小数表示范围 -1<=x<=1-2^n
移码 整数表示范围 -2^n<= x<=(2^n-1). 移码全0真值最小,移码全1真值最大
- Post title:原码,反码,补码,移码转换
- Post author:秋水
- Create time:2021-08-10 17:49:49
- Post link:tai769.github.io2021/08/10/原码-反码-补码-移码转换/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.