[Python-checkins] python/dist/src/Objects longobject.c,1.121,1.122

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Sun, 11 Aug 2002 19:44:01 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv9768/python/Objects

Modified Files:
	longobject.c 
Log Message:
k_mul():  Repaired typo in comment.


Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -C2 -d -r1.121 -r1.122
*** longobject.c	12 Aug 2002 02:31:19 -0000	1.121
--- longobject.c	12 Aug 2002 02:43:58 -0000	1.122
***************
*** 1563,1567 ****
  	 * Let k = (ah+al)*(bh+bl) = ah*bl + al*bh  + ah*bh + al*bl
  	 * Then the original product is
! 	 *     ah*bh*X*X + (k - ah*bh - ah*bl)*X + al*bl
  	 * By picking X to be a power of 2, "*X" is just shifting, and it's
  	 * been reduced to 3 multiplies on numbers half the size.
--- 1563,1567 ----
  	 * Let k = (ah+al)*(bh+bl) = ah*bl + al*bh  + ah*bh + al*bl
  	 * Then the original product is
! 	 *     ah*bh*X*X + (k - ah*bh - al*bl)*X + al*bl
  	 * By picking X to be a power of 2, "*X" is just shifting, and it's
  	 * been reduced to 3 multiplies on numbers half the size.