Searched refs:int_info (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_sys.py | 423 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
|
D | test_long.py | 11 SHIFT = sys.int_info.bits_per_digit
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.1.rst | 488 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/ |
D | longobject.c | 5446 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/ |
D | modules.rst | 320 'gettrace', 'hash_info', 'hexversion', 'implementation', 'int_info',
|
/external/python/cpython3/Doc/library/ |
D | sys.rst | 807 .. data:: int_info 819 | | ``2**int_info.bits_per_digit`` |
|
/external/python/cpython3/Misc/ |
D | HISTORY | 15120 default. Add sys.int_info structseq to provide information about
|