signed to unsigned

Brad Tilley kj4eit at gmail.com
Fri Feb 17 20:22:43 CET 2012


> >>> 0xffffffff & -327681234
>
> 3967286062

Very nice! Thanks for that example. Unsigned long longs:

0xffffffffffffffff & -9151314442815602945
9295429630893948671L



More information about the Python-list mailing list