On Jan 31, 4:10 am, Scott David Daniels wrote:
> Grant Edwards wrote:
> > On 2009-01-30, MRAB 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 over
Scott David Daniels wrote:
> Grant Edwards wrote:
>> On 2009-01-30, MRAB 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 wrote:
On 2009-01-30, MRAB 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.
Right, but he wants his homework answer.
--
http
On 2009-01-30, MRAB 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!
Eric Kang wrote:
In two’s complement representation, can adding one positive and one negative
give you overflow?
>
No.
--
http://mail.python.org/mailman/listinfo/python-list