On 2009-01-30, MRAB <goo...@mrabarnett.plus.com> wrote:
> Eric Kang wrote:
>
>> In two's complement representation, can adding one positive
>> and one negative give you overflow?
>>
> No.

AFAIK, in Python adding integers never gives you overlow
regardless of sign.

-- 
Grant Edwards                   grante             Yow! Is it clean in other
                                  at               dimensions?
                               visi.com            
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to