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

1个回答

  • 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 二进制的数字