Staging
v0.5.1
https://github.com/python/cpython
Revision 7383e7a19cf471fa592f04db4be22844ba65d309 authored by Thomas Wouters on 27 June 2001, 14:24:12 UTC, committed by Thomas Wouters on 27 June 2001, 14:24:12 UTC
SF bug 434186: 0x80000000/2 != 0x80000000>>1
i_divmod:  New and simpler algorithm.  Old one returned gibberish on most
boxes when the numerator was -sys.maxint-1.  Oddly enough, it worked in the
release (not debug) build on Windows, because the compiler optimized away
some tricky sign manipulations that were incorrect in this case.
Makes you wonder <wink> ...
1 parent 44c3679
History
Tip revision: 7383e7a19cf471fa592f04db4be22844ba65d309 authored by Thomas Wouters on 27 June 2001, 14:24:12 UTC
Backport of Tim's checkin 2.57:
Tip revision: 7383e7a
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.1 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.6 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.6 KB
configure -rwxr-xr-x 177.3 KB
configure.in -rw-r--r-- 36.3 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.0 KB

README

back to top