Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_to_128
Function
test_to_128
numpy/core/tests/test_extint128.py:89–94 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
87
88
89
def
test_to_128():
90
with
exc_iter(INT64_VALUES)
as
it:
91
for
a, in it:
92
b = mt.extint_to_128(a)
93
if
a != b:
94
assert_equal(b, a)
95
96
97
def
test_to_64():
Callers
nothing calls this directly
Calls
2
assert_equal
Function · 0.90
exc_iter
Function · 0.85
Tested by
no test coverage detected