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

Function _diff

numpy/testing/_private/utils.py:1677–1679  ·  view source on GitHub ↗
(rx, ry, vdt)

Source from the content-addressed store, hash-verified

1675 (x.shape, y.shape))
1676
1677 def _diff(rx, ry, vdt):
1678 diff = np.asarray(rx-ry, dtype=vdt)
1679 return np.abs(diff)
1680
1681 rx = integer_repr(x)
1682 ry = integer_repr(y)

Callers 1

nulp_diffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected