mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Reduce the size of the _PyLong_DigitValue table.
This commit is contained in:
parent
1467ac8e54
commit
3563153793
3 changed files with 8 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLongMask(PyObject *);
|
|||
#endif
|
||||
|
||||
/* For use by intobject.c only */
|
||||
PyAPI_DATA(int) _PyLong_DigitValue[256];
|
||||
PyAPI_DATA(unsigned char) _PyLong_DigitValue[256];
|
||||
|
||||
/* _PyLong_AsScaledDouble returns a double x and an exponent e such that
|
||||
the true value is approximately equal to x * 2**(SHIFT*e). e is >= 0.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue