← Glossary
テクノロジ系 (Technology)Tested 1×
2の補数
にのほすう · Two's complement
Also known as: 補数
A widely used method for representing negative integers in binary, obtained by inverting all bits of a number (forming the one's complement) and then adding 1. With 8 bits, the representable range is −128 to +127, and a key advantage is that both addition and subtraction can be performed using the same adder circuit.
Past questions testing this term · 1 questions
- 2012h24h #52負の整数を2の補数で表現するとき,8桁の2進数で表現できる数値の範囲を10進数で表したものはどれか。