O'Reilly logo

Bebop to the Boolean Boogie, 3rd Edition by Clive Maxfield

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Binary Arithmetic

Before We Start ….

Because digital computers are constructed from logic gates that can represent only two states, they are obliged to make use of the binary (base-2) number system with its two digits: 0 and 1 (see Chapter 7: Alternative Numbering Systems, for more details on binary).

Unlike calculations on paper where both decimal and binary numbers can be of any size—limited only by the size of your paper, the endurance of your pencil, and your stamina—the numbers manipulated within a computer have to be mapped onto a physical system of logic gates and wires. Thus, the maximum value of a number inside a computer is dictated by the width of its data path; that is, the number of bits used to represent that number. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required