[Python-Dev] Long Multiplication is not commutative.

Christian Tismer tismer@tismer.com
Fri, 07 Apr 2000 20:51:09 +0200


Tim Peters wrote:
> 
> > Yes, go for it.  I would appreciate a bunch of new test cases that
> > exercise the new path through the code, too...
> 
> FYI, a suitable test would be to add a line to function test_division_2 in
> test_long.py, to verify that x*y == y*x.  A variety of bitlengths for x and
> y are already generated by the framework.

Thanks - chris

-- 
Christian Tismer             :^)   <mailto:tismer@appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com