Video id : aHvHKv9BTZg
ImmersiveAmbientModecolor: #dfdec2 (color 2)
Video Format : 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: Opus - Normalized audio
PokeTubeEncryptID: 5d3662a6cdd3958cb24c6db4c15186a3b20497106d7f271fcedbd4e7ae38c180c0527409a2e39a429e389aa228e06b74
Proxy : usa-proxy.poketube.fun - refresh the page to change the proxy location
Date : 1714344948435 - unknown on Apple WebKit
Mystery text : YUh2SEt2OUJUWmcgaSAgbG92ICB1IHVzYS1wcm94eS5wb2tldHViZS5mdW4=
143 : true

Signed and Unsigned Numbers Made Easy! – Bits, Bytes & Binary Numbers
Jump to Connections
4,587 Views • Jul 18, 2022 • Click to toggle off description
Numbers that are signed (can have positive or negative values) have different ranges of values from numbers that are unsigned (positive only values) and it’s all down to a simple 1 or 0 – the vaklue of the leftmost bit in a byte. Why is that?

In this lesson, I explain exactly how each bit contributes a value to a given number and how that value can be switched from plus to minus. I also return to a problem I looked at some time ago: why do big positive numbers sometimes get changed to negative?

MORE LESSONS
=============
To follow all this series on bits, bytes and binary numbers, go to the “Down To The Metal” playlist:
   • Down To The Metal  

Lessons on specific topics:

Why Do Big Numbers Turn Negative?
   • Why Do Big Numbers Turn Negative (in ...  

What is a Binary Number?
   • What Is A Binary Number?  

Bits, Bytes and Binary Numbers:
   • Bits, Bytes and Binary Numbers  

Be sure to subscribe to the Code With Huw channel so that you get a notification when I upload more lessons in this series.

PROGRAMMING BOOKS
====================
If you want to learn programming in more depth (and also support this channel!) you might think of buying one of my books. I have written books on C programming, Using Pointers in C, Recursion and other programming topics. You can buy my books (paperback or Kindle) on Amazon.

“CODE WITH HUW” ON TWITTER:
=================================
twitter.com/codewithhuw

“CODE WITH HUW” ON FACEBOOK:
=================================
www.facebook.com/CodeWithHuw

Good luck! And good programming!
Metadata And Engagement

Views : 4,587
Genre: Education
Date of upload: Jul 18, 2022 ^^


Rating : 4.937 (2/124 LTDR)
RYD date created : 2024-01-19T22:40:57.64903Z
See in json
Tags
Connections

YouTube Comments - 14 Comments

Top Comments of this video!! :3

@anthonygayflor

2 days ago

Incredible explanation!!

|

@luiscermeno986

7 months ago

What a great explanation. Thank you!

1 |

@Nevertoolatetostart

1 month ago

I can't thank you enough for the perfect explanation. It helped me so much.

|

@suleymanaghamoglanli4439

6 months ago

Thanks for the perfect explanation!

|

@NikolaNevenov86

1 year ago

Great, the concept that all we should remember is that the leftmost bit adds it's value when it turns the sign in to negative, while all the rest are adding to that negative number is a really nice and simplified explanation of how to look at signed bits. But again I'll poke you about the two's compliment. Because right now logically, to someone who doesn't know, a `-1` should be 10000001 if we are using the leftmost bit for + or -. More over why should the leftmost bit add it's value when in negative but not when positive. The explanation of the one's compliment and two's compliment and it's attempt to solve the issue where the leftmost bit is used for the negative or positive sign, should be a future topic for a video, to cap the whole bit series. Because there is a reason to the madness(as they say), which explains why -1 is 11111111 and not 10000001, why the negative range for the singed number is +1 more than the positive.

|

@meghanlawrence5398

10 months ago

Which he had the Excel spreadsheet available to download

|

@__hannibaal__

1 year ago

Thank you; for bitter understand of pointer and stack and heaps; I use one pointer to first declared variable , and ability to change other variable value only by offsetting these pointer, and any king of variable char , struct …, but function !!!! Is Not Working I’m looking to map the whole memory, As We Do in mathematic(topology),

|

@mohamedshehata7526

1 month ago

i loved the video

|

Go To Top