Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Balanced-ternary digits, using T for the digit -1.
Balanced-ternary digits, using T for the digit -1.
The digit set is {-1, 0, 1} — the same alphabet the symmetric ternary logic uses, which is why this base belongs in the library rather than being a bare utility.
Attributes
Unsigned digit string of n in base, with a leading - for a negative value.
Unsigned digit string of n in base, with a leading - for a negative value.
Attributes
Builds a based integer, collapsing to a plain _Number when there is nothing to remember.
Builds a based integer, collapsing to a plain _Number when there is nothing to remember.
Base 10, a non-integral value, a non-finite one, or a base outside 2 .. 36 all yield a _Number: only a genuinely based integer becomes a _Based, exactly as _Truth.of collapses the crisp endpoints and _Complex.of collapses a zero imaginary part.
Attributes
Parses a balanced-ternary digit string (T = -1), or None on an invalid digit.
Parses a balanced-ternary digit string (T = -1), or None on an invalid digit.
Attributes
Parses a digit string in base, or None on an invalid digit.
Parses a digit string in base, or None on an invalid digit.