Staging
v0.5.1
https://github.com/python/cpython
Revision 2fd502f6a183fde7d8b4847d27e09884bf8006c7 authored by Stefan Krah on 22 August 2012, 16:54:37 UTC, committed by Stefan Krah on 22 August 2012, 16:54:37 UTC
   required for a corner case in dec_hash() in the following commit and also
   usually faster. dec_hash() needs some extra precision above MPD_MAX_PREC,
   and _mpd_base_ndivmod() is not audited for that.

2) Use _mpd_basemul() if the length of the smaller operand is less than
   or equal to 256. While this is technically an optimization, it is
   required for *testing* corner cases in dec_hash() in reasonable time.
1 parent ad54c6d
History
Tip revision: 2fd502f6a183fde7d8b4847d27e09884bf8006c7 authored by Stefan Krah on 22 August 2012, 16:54:37 UTC
1) Use _mpd_basedivmod() regardless of the length of the dividend. This is
Tip revision: 2fd502f
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 865 bytes
.hgeol -rw-r--r-- 721 bytes
.hgignore -rw-r--r-- 1.2 KB
.hgtags -rw-r--r-- 5.1 KB
.hgtouch -rw-r--r-- 467 bytes
LICENSE -rw-r--r-- 14.6 KB
Makefile.pre.in -rw-r--r-- 46.5 KB
README -rw-r--r-- 6.4 KB
config.guess -rwxr-xr-x 43.8 KB
config.sub -rwxr-xr-x 34.6 KB
configure -rwxr-xr-x 428.1 KB
configure.ac -rw-r--r-- 130.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 39.1 KB
setup.py -rw-r--r-- 91.4 KB

README

back to top