Represents the number as a triple tuple. To show the internals exactly as they are.
(self)
| 921 | return -2 if ans == -1 else ans |
| 922 | |
| 923 | def as_tuple(self): |
| 924 | """Represents the number as a triple tuple. |
| 925 | |
| 926 | To show the internals exactly as they are. |
| 927 | """ |
| 928 | return DecimalTuple(self._sign, tuple(map(int, self._int)), self._exp) |
| 929 | |
| 930 | def as_integer_ratio(self): |
| 931 | """Express a finite Decimal instance in the form n / d. |
no outgoing calls