August 2020
Intermediate to advanced
472 pages
13h 37m
English

As Chapter 2 explained, understanding how computers represent data in binary is a prerequisite to writing software that works well on them. Of equal importance is understanding how computers operate on binary data. That’s the focus of this chapter, which explores arithmetic, logical, and bit operations on binary data.
Often, you need to manually operate on two binary (or hexadecimal) values in order to use the result in your source code. Although there are calculators that can compute such results, you should be able to perform simple arithmetic operations ...