[issue4294] Macros for PyLong: sign, number of digits, fits in an int

STINNER Victor report at bugs.python.org
Mon Nov 10 16:47:17 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

@marketdickinson: As you proposed, here is a patch for 
_PyLong_AsScaledDouble(): stores directly the number of bits in an 
unsigned int instead of the number of digits.

Added file: http://bugs.python.org/file11979/pylong_asscaleddouble.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4294>
_______________________________________


More information about the Python-bugs-list mailing list