Isn't the inverse of 00110110 00110110?

Hello, gods. Today, when I was reading the book introduction to computer Science, I found that the inverse code of 00110110 is 11001001, but the inverse code, complement code and original code of positive numbers are all the same. The reverse code should be 00110110?

clipboard.png

also ask the god to give us some advice, thank you in advance!

C
Jul.03,2021

you are talking about the code rules of signed numbers, and the meaning of the article is just to explain what the anti-code is. You can understand that the unsigned anti-code operation


anti-code itself is an operation method, and its rule is to reverse every bit in the binary bit.
and you may have misunderstood anti-code operation and anti-code representation . Inverse code representation is a method to represent negative numbers with the help of inverse code operation. It stipulates that the positive number is represented as itself, that is, the negative number is represented as the inverse code of its absolute value without inverse code operation.
so many of us have misunderstandings about the anti-code representation, including myself at that time. It can not be said that "the inverse code of a positive number is itself", but should be said that "in the inverse code representation, the positive number is expressed as itself".
conclusion: the book is about simple anti-code operation, not anti-code representation. Pay attention to the wording of the topic to prove this

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b395-2c28f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b395-2c28f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?