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

Method _int_min

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

Source from the content-addressed store, hash-verified

81 return max_u
82
83 def _int_min(self):
84 if self._is_fp():
85 return None
86 if self._is_unsigned():
87 return 0
88 return -(self._int_max() + 1)
89
90 def _true_mask(self):
91 max_unsig = getattr(self.npyv, "setall_u" + self.sfx[1:])(-1)

Callers 9

_int_clipMethod · 0.95
test_operators_shiftMethod · 0.80
test_arithmetic_mulMethod · 0.80

Calls 3

_is_fpMethod · 0.95
_is_unsignedMethod · 0.95
_int_maxMethod · 0.95

Tested by

no test coverage detected