Home
last modified time | relevance | path

Searched refs:int_info (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_sys.py423 self.assertEqual(len(sys.int_info), 2)
424 self.assertTrue(sys.int_info.bits_per_digit % 5 == 0)
425 self.assertTrue(sys.int_info.sizeof_digit >= 1)
426 self.assertEqual(type(sys.int_info.bits_per_digit), int)
427 self.assertEqual(type(sys.int_info.sizeof_digit), int)
870 self.longdigit = sys.int_info.sizeof_digit
1066 PyLong_BASE = 2**sys.int_info.bits_per_digit
Dtest_long.py11 SHIFT = sys.int_info.bits_per_digit
/external/python/cpython3/Doc/whatsnew/
D3.1.rst488 new :attr:`sys.int_info` that provides information about the
493 >>> sys.int_info
494 sys.int_info(bits_per_digit=30, sizeof_digit=4)
/external/python/cpython3/Objects/
Dlongobject.c5446 PyObject* int_info; in PyLong_GetInfo() local
5448 int_info = PyStructSequence_New(&Int_InfoType); in PyLong_GetInfo()
5449 if (int_info == NULL) in PyLong_GetInfo()
5451 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5453 PyStructSequence_SET_ITEM(int_info, field++, in PyLong_GetInfo()
5456 Py_CLEAR(int_info); in PyLong_GetInfo()
5459 return int_info; in PyLong_GetInfo()
/external/python/cpython3/Doc/tutorial/
Dmodules.rst320 'gettrace', 'hash_info', 'hexversion', 'implementation', 'int_info',
/external/python/cpython3/Doc/library/
Dsys.rst807 .. data:: int_info
819 | | ``2**int_info.bits_per_digit`` |
/external/python/cpython3/Misc/
DHISTORY15120 default. Add sys.int_info structseq to provide information about