Arithmetic Bounds
Prev: Power-of-2 Boundaries
Next: Counting Bits
Sections
4-1Checking Bounds of Integers4-2Propagating Bounds through Add’s and Subtract’s4-3Propagating Bounds through Logical Operations
Problems
-
For unsigned integers, what are the bounds on if and ?
-
Show how the
maxORfunction (Figure 4-4) can be simplified if either or on a machine that has the number-of-leading-zeros instruction.