Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ assert_arctan2_isnan
Function
assert_arctan2_isnan
numpy/core/tests/test_umath.py:2144–2145 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
2142
2143
2144
def
assert_arctan2_isnan(x, y):
2145
assert_(np.isnan(ncu.arctan2(x, y)),
"arctan(%s, %s) is %s, not nan"
% (x, y, ncu.arctan2(x, y)))
2146
2147
2148
def
assert_arctan2_ispinf(x, y):
Callers
1
test_nan_any
Method · 0.85
Calls
1
assert_
Function · 0.90
Tested by
no test coverage detected