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

Function assert_arctan2_ispzero

numpy/core/tests/test_umath.py:2156–2157  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

2154
2155
2156def assert_arctan2_ispzero(x, y):
2157 assert_((ncu.arctan2(x, y) == 0 and not np.signbit(ncu.arctan2(x, y))), "arctan(%s, %s) is %s, not +0" % (x, y, ncu.arctan2(x, y)))
2158
2159
2160def assert_arctan2_isnzero(x, y):

Callers 3

test_zero_pzeroMethod · 0.85
test_zero_positiveMethod · 0.85
test_any_pinfMethod · 0.85

Calls 1

assert_Function · 0.90

Tested by

no test coverage detected