Home
last modified time | relevance | path

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

/third_party/python/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)
/third_party/python/Modules/_decimal/tests/
Dbignum.py14 _PyHASH_INF = sys.hash_info.inf variable
/third_party/python/Include/
Dpyhash.h31 #define _PyHASH_INF 314159 macro
/third_party/python/Python/
Dpyhash.c94 return v > 0 ? _PyHASH_INF : -_PyHASH_INF; in _Py_HashDouble()
Dsysmodule.c1392 PyLong_FromLong(_PyHASH_INF)); in get_hash_info()
/third_party/python/Lib/
Dfractions.py21 _PyHASH_INF = sys.hash_info.inf variable
542 hash_ = _PyHASH_INF
D_pydecimal.py957 return -_PyHASH_INF
959 return _PyHASH_INF
6405 _PyHASH_INF = sys.hash_info.inf variable