mirror of
https://github.com/python/cpython.git
synced 2025-12-10 19:10:59 +00:00
Fixed error in new comment.
This commit is contained in:
parent
d6974a54ab
commit
cba6e96929
1 changed files with 3 additions and 4 deletions
|
|
@ -1790,8 +1790,7 @@ case, we actually have (2*shift+1)*2 - shift = 3*shift + 2 allocated digits
|
||||||
remaining, and that's obviously plenty to hold 2*shift+2 digits + 2 bits.
|
remaining, and that's obviously plenty to hold 2*shift+2 digits + 2 bits.
|
||||||
Else (bsize is odd and asize < bsize) ah and al each have at most shift digits,
|
Else (bsize is odd and asize < bsize) ah and al each have at most shift digits,
|
||||||
so ah+al has at most shift digits + 1 bit, and (ah+al)*(bh+bl) has at most
|
so ah+al has at most shift digits + 1 bit, and (ah+al)*(bh+bl) has at most
|
||||||
2*shift+1 digits + 2 bits, and again 2*shift+2 digits + 2 bits is
|
2*shift+1 digits + 2 bits, and again 2*shift+2 digits is enough to hold it.
|
||||||
enough to hold it.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* b has at least twice the digits of a, and a is big enough that Karatsuba
|
/* b has at least twice the digits of a, and a is big enough that Karatsuba
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue