Files
cpython/Objects
Tim Peters d8b2173ef9 k_mul(): White-box testing turned up that (ah+al)*(bh+bl) can, in rare
cases, overflow the allocated result object by 1 bit.  In such cases,
it would have been brought back into range if we subtracted al*bl and
ah*bh from it first, but I don't want to do that because it hurts cache
behavior.  Instead we just ignore the excess bit when it appears -- in
effect, this is forcing unsigned mod BASE**(asize + bsize) arithmetic
in a case where that doesn't happen all by itself.
2002-08-12 19:30:26 +00:00
..
2000-05-02 18:34:30 +00:00
2002-08-06 22:12:52 +00:00
2001-08-29 23:54:21 +00:00
2002-07-17 16:30:39 +00:00
2002-08-06 21:50:54 +00:00
2002-07-17 16:30:39 +00:00
2002-08-07 16:21:51 +00:00
2002-07-18 18:49:52 +00:00
2002-07-17 16:30:39 +00:00
2002-08-12 19:25:08 +00:00
2002-07-17 16:30:39 +00:00