(self)
| 87 | return -float("inf") if dtypes.is_float(self) else False |
| 88 | @functools.cached_property |
| 89 | def max(self): |
| 90 | if dtypes.is_int(self): return 2**(self.scalar().bitsize)-1+self.min |
| 91 | return float("inf") if dtypes.is_float(self) else True |
| 92 | def const(self, val: tuple[ConstType, ...]|ConstType): |
| 93 | if isinstance(val, tuple): |
| 94 | assert len(val) == self.count, f"mismatch {val} {self}" |