Maximum Positive 2's Complement Number for N bits

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

Комментарии • 5

  • @germas369
    @germas369 6 лет назад +2

    By far the easiest and most simple explanation to understand. thank you

  • @minnil7927
    @minnil7927 2 года назад +1

    what is the minimum?

  • @DigitalGuruLK
    @DigitalGuruLK 7 лет назад

    what is the maximum negative number in two's complement... how it represent large negative numbers....?

    • @philspaghet
      @philspaghet 5 лет назад

      Technically the maximum negative number is -1 (assuming integers) lol
      But really, I would work backwards from the 2's complement -> binary conversion. remember flip all bits and add one to get to decimal? Use that same logic. so 1011 becomes 100 + 1 = 101 which is 5, make it negative -5.
      By that logic, 1000 is the most negative number for 4 bits

  • @ahmadmohammed1607
    @ahmadmohammed1607 6 лет назад +1

    very good explanation