AdicExpansion
The digits of a -adic number, written with the infinite end on the left: for in , for in , when capped.
AdicExpansion(x, count?)the first count digits (default 20) as a stringAdicDigits(x, count?)the same digits as a list, LEAST significant first — the only order that lists something with no left endTyped signatures
| Type | Package | Applies |
|---|---|---|
(value, integer?) -> string | numerals | always |
Details
- The ellipsis marks the infinite left end and is dropped only when nothing hides there: an exact non-negative integer (times )
- Digits past the point are the negative-valuation places, prime bases only
- Digits are bracketed, so base 16 reads
…[15][15][15]
Examples
Scope #
About
| Examples | 8 |
|---|---|
| Checked against | SageMath 2 errorRust 2 error |
See also: AdicNumeral, IntegerDigits