In message <[EMAIL PROTECTED]>, Hrvoje Niksic wrote: > If you want 16-bit unsigned arithmetic, use 2**16 + ~a, which yields > 57557.
Or why not use "0xffff ^ a", which returns the same thing. -- http://mail.python.org/mailman/listinfo/python-list
In message <[EMAIL PROTECTED]>, Hrvoje Niksic wrote: > If you want 16-bit unsigned arithmetic, use 2**16 + ~a, which yields > 57557.
Or why not use "0xffff ^ a", which returns the same thing. -- http://mail.python.org/mailman/listinfo/python-list