C++ Weekly - Ep 243 - Computer Science: The Magic of Two's Complement Binary Math

6,892 views

About this video

Hand-picked by a BrighterTube curator · found via Reddit r/learnprogramming thread: What are the YouTube channels you watch as a software developer? · 80% confidence

Explains why computers use two's complement for signed integers, deriving negation and overflow behaviour bit by bit and connecting them to what C++ now guarantees. From Jason Turner's long-running C++ Weekly, by an experienced C++ trainer.

How two's-complement binary arithmetic works and why computers use it.

Video by C++ Weekly With Jason Turner, played through YouTube's embedded player.

Part of C++ Weekly