What a common abbreviation for two's complement code? I've searched on Google, and find "TCC" as a required abbreviation on thefreedictionary. Is it commonly recognized? Or may be there are some other suggestions?
There doesn't appear to be one.
I have a Master's degree in CS and about 25 years in the industry under my belt, and have never heard of one. Of course that isn't authoritative, so I checked out the Wikipedia pages for Two's complement and for Method of Complements. No abbreviation was found in there. There's a fair bit of math going on in those pages to explain the concept. IMHO, if the mathematicians didn't bother with a notation for it, then there probably isn't much of one.
In fact, it looks like "Two's Complement" itself is a bit of an abbreviation. For completeness sake you really have to specify how many bits you are working with, as well as whether you are talking about the number format, or the operation itself.
We used to the term a lot when talking about computer samples (this was 20 years ago), in casual speech we would say "two's comp".
We also had a short hand (we would need a button and "two's comp" is a bit long) but I can not remember right now. Something like 2n-1 but I am really not sure now but it was represented in other software like this too...
I'm unclear on whether "signed two's complement" and "two's complement" are identical concepts, but they do have abbreviations appearing in more than one place:
ECE230 Review by Andrew Mason, Michigan State University says:
Express numbers in signed 2 s complement (S2C) form, perform 2’s complement operation, and evaluate subtraction using S2C.
2’s Complement = 2C
He likewise uses it in these notes:
And, we will move on to the one that is important, signed two's complement form. So, I'm going to abbreviate this throughout the notes as S2C: signed two's complement.
CMSC 311 Computer Organization: Jolly Numbers Notes or Representing Numbers in the Computer by Nikos Drakos & Ross Moore says:
Signed 2's complement (or sign 2's complement) (s2c) is a modification of the sign-magnitude form in which addition and subtraction work the way that you expect them to.