10 likes | 116 Vues
x + y. +2 w. Positive overflow. Case 4. x + t y. +2 w –1. +2 w –1. Case 3. 0. Normal. 0. Case 2. –2 w –1. –2 w –1. Case 1. Negative overflow. –2 w.
E N D
x + y +2w Positive overflow Case 4 x +ty +2w –1 +2w –1 Case 3 0 Normal 0 Case 2 –2w –1 –2w –1 Case 1 Negative overflow –2w