(self)
| 73 | return [min(max(v, min_int), max_int) for v in seq] |
| 74 | |
| 75 | def _int_max(self): |
| 76 | if self._is_fp(): |
| 77 | return None |
| 78 | max_u = self._to_unsigned(self.setall(-1))[0] |
| 79 | if self._is_signed(): |
| 80 | return max_u // 2 |
| 81 | return max_u |
| 82 | |
| 83 | def _int_min(self): |
| 84 | if self._is_fp(): |
no test coverage detected