[issue5576] Don't use PyLong_SHIFT with _PyLong_AsScaledDouble()
STINNER Victor
report at bugs.python.org
Sun Mar 29 12:52:03 CEST 2009
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Long double (80 bits) exponent is in range [-16382; 16383] and so would
fits in an int, unsigned int, size_t or Py_ssize_t. I don't know if a
signed or unsigned number is better. I know only one operation on
exponents: a-b in PyLong_AsDouble.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5576>
_______________________________________
More information about the Python-bugs-list
mailing list