Example conversion of negative decimal number to binary

  Рет қаралды 127,334

CompArchIllinois

CompArchIllinois

10 жыл бұрын

Example conversion of a negative decimal number to its 5-bit two's complement equivalent.

Пікірлер: 34
@HellGod67
@HellGod67 10 жыл бұрын
Thanks alot! The only video that explains negative numbers -_-
@TheWebPotato
@TheWebPotato 5 жыл бұрын
Thank you for helping me 5 years from the past.
@lindelycaleb
@lindelycaleb 5 жыл бұрын
Thank you for this! My book doesn't explain this. Just throws binary at me.
@topgames451
@topgames451 8 жыл бұрын
Thank you man , you saved me :)
@pouyanghalehmalek3685
@pouyanghalehmalek3685 4 жыл бұрын
very nice, thank you!
@mussimbigrace3469
@mussimbigrace3469 2 жыл бұрын
the only video that explain it better !
@mgnt
@mgnt 4 жыл бұрын
Thank You.!
@hassansyed5661
@hassansyed5661 7 жыл бұрын
Thank you
@sudiddo9928
@sudiddo9928 9 жыл бұрын
aaaa.. thank you.. you saved my life :p
@surbhiverma9367
@surbhiverma9367 5 жыл бұрын
But when we convert a negative integer into binary the answer usually starts from 0. I m confused.
@mhk5692
@mhk5692 9 жыл бұрын
thanks
@citizenOnYoutube
@citizenOnYoutube 9 жыл бұрын
you saved me :3
@Naota_
@Naota_ 10 жыл бұрын
thanks man
@dayone1992
@dayone1992 9 жыл бұрын
we can actually calculate the binary for 11 (12 - 1), then flip 1 and 0, it's easier.
@thesickbeat
@thesickbeat 9 жыл бұрын
+Kenny Tong Saved my life writing a function that converts numbers to binary strings...Thanks.
@l3aIIin23
@l3aIIin23 8 жыл бұрын
+Kenny Tong thanks
@kdwilliams4610
@kdwilliams4610 6 жыл бұрын
Awesome
@carlosbeltran6793
@carlosbeltran6793 10 жыл бұрын
Thank you
@nathanielwalker7571
@nathanielwalker7571 6 жыл бұрын
I don't get it so to get the negative binary I have to convert to twos complement ?
@Sapunel
@Sapunel 4 жыл бұрын
i love you
@BadruddinShaikh786
@BadruddinShaikh786 8 жыл бұрын
nice ...but just give me an idea ,,how to check it is tru
@rushanamir9269
@rushanamir9269 7 жыл бұрын
But if we have a positive number for example +12, then will we take the 2's complement or not?
@alidhan1299
@alidhan1299 7 жыл бұрын
No, for positive numbers you don't need to. Try it yourself with few different positive numbers. (You can always verify with online calculators btw) I use another method than division, i just take the powers of two-> "etc.....128 64 32 16 8 4 2 1" and think about how to make the number i need to convert = sums of some of those numbers above so in case of +12, its 8 + 4 so if we put 1 under 4 and under 8 and 0 everywhere else we will get: etc.....128 64 32 16 8 4 2 1 etc..... 0 0 0 0 1 1 0 0 so -> 00001100 which is +12 in binary :D
@rushanamir9269
@rushanamir9269 7 жыл бұрын
Rainy Night thanks for help
@mbisetakobana
@mbisetakobana 9 жыл бұрын
Thank you!i watched with no sound!
@danodude1
@danodude1 9 жыл бұрын
mbisetakobana Why would you make it harder than you needed to? :P
@carousel9325
@carousel9325 4 жыл бұрын
98s > 1hour
@kevinj8431
@kevinj8431 8 жыл бұрын
XD
@fahadalharbi1465
@fahadalharbi1465 8 жыл бұрын
very bad
@williamoforange4547
@williamoforange4547 5 жыл бұрын
What is? Your religion? Agreed 100%.
@azeemniazi8292
@azeemniazi8292 5 жыл бұрын
@@williamoforange4547 Calling other ppl's religion bad is what ur religion taught u?
@chhavigupta2802
@chhavigupta2802 2 жыл бұрын
@@williamoforange4547 grow up
Twos complement: Negative numbers in binary
13:49
Ben Eater
Рет қаралды 1,2 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 56 МЛН
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 39 МЛН
Why do programmers use hexadecimal numbers?
8:41
Jacob Sorber
Рет қаралды 56 М.
Decimal to IEEE 754 Standard Binary Conversion
10:02
EducationAboutStuff
Рет қаралды 156 М.
Binary Addition and Subtraction With Negative Numbers, 2's Complements & Signed Magnitude
24:57
Understanding Binary, Hexadecimal, Decimal (Base-10), and more
10:44
Corey Schafer
Рет қаралды 181 М.
Decimal to IEEE 754 Floating Point Representation
9:27
Abishalini Sivaraman
Рет қаралды 1,4 МЛН
An Introduction to Binary Numbers
10:04
Ted Burke
Рет қаралды 189 М.
Diffie-Hellman Key Exchange: How to Share a Secret
9:09
Spanning Tree
Рет қаралды 137 М.
Floating Point Numbers - Computerphile
9:16
Computerphile
Рет қаралды 2,3 МЛН
Reuse3♻️
0:25
Yoshipapa / よしパパ
Рет қаралды 8 МЛН
PRADO 250 - классная машина!
0:28
Тарасов Auto
Рет қаралды 3,4 МЛН
My Hero Brother‼️ How to Survive Swimming Pool😎 Like a Boss💕❤️😘 | JJaiPan #Shorts
0:49
It’S So Fun To Wash My Son’S Hair! #funny #baby#cute  #funnybaby
0:14
Amazing Children Toys
Рет қаралды 11 МЛН
Footballers Crazy Water Pool Challenge🌊
0:27
Football Life
Рет қаралды 16 МЛН