Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _ninfinity
Method
_ninfinity
numpy/core/tests/test_simd.py:108–109 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
106
return
float(
"inf"
)
107
108
def
_ninfinity(self):
109
return
-float(
"inf"
)
110
111
def
_nan(self):
112
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