In the computer, there are three representations of signed numbers: original code, inverted code and complement code. The so-called original code is a binary fixed-point representation, that is, the highest bit is a sign bit, "0" means positive, "1" means negative, and the remaining bits represent the size of the value. The inverse code representation stipulates that the inverse of the positive number is the same as its original code; the inverse of the negative number is the inverse of the original code, except for the sign bit. The complement notation specifies that the complement of a positive number is the same as its original code; the complement of a negative number is incremented by one at the end of its inverse.
Bluetooth
Guangzhou Lufeng Electronic Technology Co. , Ltd. , https://www.lufengelectronics.com