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

Method _pinfinity

numpy/core/tests/test_simd.py:105–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 return getattr(self.npyv, cvt_intrin.format(sfx[1:], sfx))(vector)
104
105 def _pinfinity(self):
106 return float("inf")
107
108 def _ninfinity(self):
109 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