Minimum value of given dtype.
(self)
| 695 | |
| 696 | @property |
| 697 | def min(self): |
| 698 | """Minimum value of given dtype.""" |
| 699 | if self.kind == 'u': |
| 700 | return 0 |
| 701 | else: |
| 702 | try: |
| 703 | val = iinfo._min_vals[self.key] |
| 704 | except KeyError: |
| 705 | val = int(-(1 << (self.bits-1))) |
| 706 | iinfo._min_vals[self.key] = val |
| 707 | return val |
| 708 | |
| 709 | @property |
| 710 | def max(self): |
no outgoing calls