unsigned 32 bit arithmetic type?
Robin Becker
robin at reportlab.com
Wed Oct 25 14:06:29 EDT 2006
Martin v. Löwis wrote:
........
> As I said: you need to fix the final outcome:
>
> py> x = 0xFFFFFFFFL
> py> hex(x)
> '0xFFFFFFFFL'
>
........
>
> and so on. Whether you perform the modulo operation after
> each step, or only at the end, has no impact on the result.
All hail congruency classes.
I still miss the CDC 6000's where we had two zeroes :)
--
Robin Becker
More information about the Python-list
mailing list