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

Function test_floordiv_128_64

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

Source from the content-addressed store, hash-verified

200
201
202def test_floordiv_128_64():
203 with exc_iter(INT128_VALUES, INT64_POS_VALUES) as it:
204 for a, b in it:
205 c = a // b
206 d = mt.extint_floordiv_128_64(a, b)
207
208 if c != d:
209 assert_equal(d, c)
210
211
212def test_ceildiv_128_64():

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
exc_iterFunction · 0.85

Tested by

no test coverage detected