Example conversion of a negative decimal number to its 5-bit two's complement equivalent.
Пікірлер: 34
@HellGod6710 жыл бұрын
Thanks alot! The only video that explains negative numbers -_-
@TheWebPotato5 жыл бұрын
Thank you for helping me 5 years from the past.
@lindelycaleb5 жыл бұрын
Thank you for this! My book doesn't explain this. Just throws binary at me.
@topgames4518 жыл бұрын
Thank you man , you saved me :)
@pouyanghalehmalek36854 жыл бұрын
very nice, thank you!
@mussimbigrace34692 жыл бұрын
the only video that explain it better !
@mgnt4 жыл бұрын
Thank You.!
@hassansyed56617 жыл бұрын
Thank you
@sudiddo99289 жыл бұрын
aaaa.. thank you.. you saved my life :p
@surbhiverma93675 жыл бұрын
But when we convert a negative integer into binary the answer usually starts from 0. I m confused.
@mhk56929 жыл бұрын
thanks
@citizenOnYoutube9 жыл бұрын
you saved me :3
@Naota_10 жыл бұрын
thanks man
@dayone19929 жыл бұрын
we can actually calculate the binary for 11 (12 - 1), then flip 1 and 0, it's easier.
@thesickbeat9 жыл бұрын
+Kenny Tong Saved my life writing a function that converts numbers to binary strings...Thanks.
@l3aIIin238 жыл бұрын
+Kenny Tong thanks
@kdwilliams46106 жыл бұрын
Awesome
@carlosbeltran679310 жыл бұрын
Thank you
@nathanielwalker75716 жыл бұрын
I don't get it so to get the negative binary I have to convert to twos complement ?
@Sapunel4 жыл бұрын
i love you
@BadruddinShaikh7868 жыл бұрын
nice ...but just give me an idea ,,how to check it is tru
@rushanamir92697 жыл бұрын
But if we have a positive number for example +12, then will we take the 2's complement or not?
@alidhan12997 жыл бұрын
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
@rushanamir92697 жыл бұрын
Rainy Night thanks for help
@mbisetakobana9 жыл бұрын
Thank you!i watched with no sound!
@danodude19 жыл бұрын
mbisetakobana Why would you make it harder than you needed to? :P
@carousel93254 жыл бұрын
98s > 1hour
@kevinj84318 жыл бұрын
XD
@fahadalharbi14658 жыл бұрын
very bad
@williamoforange45475 жыл бұрын
What is? Your religion? Agreed 100%.
@azeemniazi82925 жыл бұрын
@@williamoforange4547 Calling other ppl's religion bad is what ur religion taught u?