[docs] [issue29710] Incorrect representation caveat on bitwise operation docs

Mark Dickinson report at bugs.python.org
Mon Jul 23 14:05:22 EDT 2018


Mark Dickinson <dickinsm at gmail.com> added the comment:

> 4. Performing these calculations with at least one extra sign extension bit in a finite two's complement representation (a working bit-width of ``1 + max(x.bit_length(), y.bit_length()`` or more) is sufficient to get the same result as if there were an infinite number of sign bits.

LGTM

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29710>
_______________________________________


More information about the docs mailing list