예제 #1
0
def test_functions():
    xll = longlong.getfloatstorage(3.5)
    assert longlong.getrealfloat(xll) == 3.5
    assert is_valid_int(longlong.gethash(xll))
예제 #2
0
파일: history.py 프로젝트: soIu/rpython
 def _get_hash_(self):
     return longlong.gethash(self.value)
예제 #3
0
 def _get_hash_(self):
     return longlong.gethash(self.value)
예제 #4
0
def test_functions():
    xll = longlong.getfloatstorage(3.5)
    assert longlong.getrealfloat(xll) == 3.5
    assert is_valid_int(longlong.gethash(xll))