On Mar 26, 5:42 pm, Sal <[EMAIL PROTECTED]> wrote:
> Is there any way to do an unsigned shift right in Python? When I enter
> (-1>>1) the answer is -1. What I'm looking for is the equivalent of an
> unsigned shift in C or the ">>>" operator in Java.
What answer were you hoping for, and why? 2**31
Is there any way to do an unsigned shift right in Python? When I enter
(-1>>1) the answer is -1. What I'm looking for is the equivalent of an
unsigned shift in C or the ">>>" operator in Java.
--
http://mail.python.org/mailman/listinfo/python-list