En Sat, 10 Mar 2007 21:04:00 -0300, Paul Rubin  
<"http://phr.cx"@NOSPAM.invalid> escribió:

> "Gabriel Genellina" <[EMAIL PROTECTED]> writes:
>> > If you use %u you get a very large positive value, not +3.
>> Exactly, and that's the right value. (unsigned int)(-3) isn't +3.
>
> The OP specified that the expected result was 3.

Ouch! Yes, sorry, I overlooked it. And the C code just made things more  
confusing.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to