Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ _ninfinity
Method
_ninfinity
numpy/_core/tests/test_simd.py:113–114 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
111
return
float(
"inf"
)
112
113
def
_ninfinity(self):
114
return
-float(
"inf"
)
115
116
def
_nan(self):
117
return
float(
"nan"
)
Callers
7
test_abs
Method · 0.80
test_sqrt
Method · 0.80
test_square
Method · 0.80
test_rounding
Method · 0.80
test_max_min
Method · 0.80
test_reciprocal
Method · 0.80
test_comparison_with_nan
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected