
5 Number representations a) Computers typically do not implement integer subtraction directly, but instead using addition and negation. To accomplish negation, they often use the formula -x11..1) 1, which can be implemented using bitwise XOR and addition. The string 11…1 here represents the all 1’s string of length n, where n is the width of the CPU. The addition is done modulo 22 Verify that-x (x ^ 11 1) + 1 (mod 2″) for n = 4 and x =
PayPal Gateway not configured
PayPal Gateway not configured