0

I'm pretty new to bit manipulations and bitwise so I'm struggling to understand what this question is asking.

What number would be the second smallest twos complement integer? Or what number would be the smallest? Does it depend on the computer? Or is it standard for each computer?

Aima
  • 17
  • 2
  • [This answer](https://stackoverflow.com/a/1049774/2983568) is helpful to understand two's complement. Regarding your actual question, as I understand it, it depends on the number of bits. So for example for 4 bits, the smallest 2 complement is `-8 = 1000`, second one is `-7 = 1001`. The quoted answer and the comments should clarify things. – evilmandarine Sep 30 '22 at 17:02

0 Answers0