Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_numeric_tower.py15 _PyHASH_INF = sys.hash_info.inf variable
119 self.assertEqual(hash(F(1, _PyHASH_MODULUS)), _PyHASH_INF)
120 self.assertEqual(hash(F(-1, 3*_PyHASH_MODULUS)), -_PyHASH_INF)
/external/python/cpython3/Modules/_decimal/tests/
Dbignum.py14 _PyHASH_INF = sys.hash_info.inf variable
/external/python/cpython3/Include/
Dpyhash.h29 #define _PyHASH_INF 314159 macro
/external/python/cpython3/Python/
Dpyhash.c94 return v > 0 ? _PyHASH_INF : -_PyHASH_INF; in _Py_HashDouble()
Dsysmodule.c984 PyLong_FromLong(_PyHASH_INF)); in get_hash_info()
/external/python/cpython3/Lib/
Dfractions.py43 _PyHASH_INF = sys.hash_info.inf variable
561 hash_ = _PyHASH_INF
D_pydecimal.py953 return -_PyHASH_INF
955 return _PyHASH_INF
6403 _PyHASH_INF = sys.hash_info.inf variable