什么是二补数(2s-complement)?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 22:25:16
什么是二补数(2s-complement)?

什么是二补数(2s-complement)?
什么是二补数(2s-complement)?

什么是二补数(2s-complement)?
The two's complement of a binary number is defined as the value obtained by subtracting the number from a large power of two (specifically,from 2N for an N-bit two's complement).The two's complement of the number then behaves like the negative of the original number in most arithmetic,and it can coexist with positive numbers in a natural way.
2s-complement number means 二进制的数字