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 -- http://mail.python.org/mailman/listinfo/python-list