How do computers subtract? Since computers store numbers as bits, we have to use a bit of clever math to ensure that operations involving negation work as expected. Along the way, we'll also look at negative number representation, before generalizing this idea beyond computer science!
Check out the Method of Complements calculator on my website → https://resources.nerdfirst.net/complements
Like my work and want to support the channel? Buy me a coffee → http://www.nerdfirst.net/donate/
= CONTENTS PAGE =
00:00 Introduction & Contents Page
01:01 Number Systems
01:40 Binary to Decimal Conversion
02:27 Negative Representation
03:32 Two's Complement
05:10 The Method of Complements (Base 10)
06:35 "Mapping" method to complement digits
08:42 The Method of Complements (Base 2)
09:38 Limitations & Caveats
10:45 Conclusion
= ATTRIBUTION =
My thanks go out to the creators on Pixabay and FreePD for releasing their work into the public domain.
https://freepd.com/music/Epic%20Blockbuster%202.mp3
https://freepd.com/music/Driving%20Concern.mp3
https://freepd.com/Page2/music/Rap%20Deep%20Groove.mp3
https://freepd.com/Page2/music/Urban%20Funk%20B.mp3
https://freepd.com/Page2/music/Rap%20with%20Metals.mp3
https://pixabay.com/videos/drink-water-glass-pouring-95/
https://pixabay.com/videos/binary-digital-code-matrix-numbers-29078/
https://pixabay.com/videos/network-loop-energy-technology-12716/
https://pixabay.com/videos/golden-particles-overlay-decoration-48569/
-----
Want to contribute to the channel? Consider using the "Super Thanks" feature above, or visit my website at https://nerdfirst.net/donate to find alternative ways to donate. Thank you!
-----
Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.