Learn Programming with C++ - Signed & Unsigned Integers

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

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

  • @DuckBarberMHK
    @DuckBarberMHK 3 года назад +3

    I swear you are a legend. You deserve much more attention

  • @Vitosoaski
    @Vitosoaski 11 месяцев назад

    Thanks for explaining this content 👍👍

  • @jacobidoko3009
    @jacobidoko3009 3 года назад

    i came looking for copper and found gold!! Went through your videos.You explain really well!

  • @ARUN-ik2nb
    @ARUN-ik2nb 2 года назад

    Great explanation man...everything is crystal clear. Thanks a lot 👍 !!

  • @AdamRakhamim
    @AdamRakhamim 3 года назад

    Thanks, pal!

  • @Byynx
    @Byynx Год назад

    Congratulations for the quality of your videos. You haven't explain why unsigned char a = 200 is -56. But i suppose the compiler is assuming only that 7 bit value.

    • @VelcodeCS
      @VelcodeCS  Год назад +1

      Yes, 200 would overflow since the 8th but would be used as sign bit. Hence 2^7 - 1 = 127 is the highest number you can store in it

  • @nicoheizmann8074
    @nicoheizmann8074 2 года назад

    Great video! One question though, what’s the difference between this representation and the “normalized” representation (IEEE 754)?

    • @VelcodeCS
      @VelcodeCS  2 года назад

      What I show here is simple integer representation. I believe IEEE 754 is the specification for floating number representation, which is a little more complex.

  • @SR-bc7nv
    @SR-bc7nv 3 года назад

    Thanks! :)

  • @kamalkumar7133
    @kamalkumar7133 4 года назад

    Thanks.

  • @mohammadalamin3098
    @mohammadalamin3098 8 месяцев назад

    you use c

  • @SebleBeyene-jp8hp
    @SebleBeyene-jp8hp 7 месяцев назад

    I thought it was CPP 😂😢