MCPcopy Create free account
hub / github.com/numpy/numpy / test_neg_128

Function test_neg_128

numpy/core/tests/test_extint128.py:141–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140
141def test_neg_128():
142 with exc_iter(INT128_VALUES) as it:
143 for a, in it:
144 b = -a
145 c = mt.extint_neg_128(a)
146 if b != c:
147 assert_equal(c, b)
148
149
150def test_shl_128():

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
exc_iterFunction · 0.85

Tested by

no test coverage detected