Learn Programming with C++ - Signed & Unsigned Integers

Поділитися
Вставка
  • Опубліковано 24 жов 2024

КОМЕНТАРІ • 14

  • @DuckBarberMHK
    @DuckBarberMHK 3 роки тому +3

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

  • @Vitosoaski
    @Vitosoaski 10 місяців тому

    Thanks for explaining this content 👍👍

  • @ARUN-ik2nb
    @ARUN-ik2nb 2 роки тому

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

  • @jacobidoko3009
    @jacobidoko3009 3 роки тому

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

  • @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 7 місяців тому

    you use c

  • @SebleBeyene-jp8hp
    @SebleBeyene-jp8hp 6 місяців тому

    I thought it was CPP 😂😢