MCPcopy Index your code
hub / github.com/numpy/numpy / _pinfinity

Method _pinfinity

numpy/_core/tests/test_simd.py:110–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108 return getattr(self.npyv, cvt_intrin.format(sfx[1:], sfx))(vector)
109
110 def _pinfinity(self):
111 return float("inf")
112
113 def _ninfinity(self):
114 return -float("inf")

Callers 7

test_absMethod · 0.80
test_sqrtMethod · 0.80
test_squareMethod · 0.80
test_roundingMethod · 0.80
test_max_minMethod · 0.80
test_reciprocalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected