Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1の補数や2の補数などの補数の用途は何ですか?
負の数を2進形式で表現します。
ウィキペディアから:
その場合、2の補数は、ほとんどの算術演算で元の数の負の数のように動作し、自然な方法で正の数と共存できます。