AdicValuation
The -adic valuation — the power of dividing — with its companions: the norm and the unit part in .
AdicValuation(x); PositiveInfinity for zeroRust
adic_valuation(x)Typed signatures
| Type | Package | Applies |
|---|---|---|
(value) -> integer | signed_infinity | numerals | always |
Details
- For composite this is the largest with , which is not a valuation in the strict sense (it is not additive: ) — but it is what the expansion's leading zeros count
- A capped zero is , so its valuation is reported as the precision: all that is known
- Wolfram's
IntegerExponent[n, p]is the valuation on integers
Examples
11 more kept as data, checked against the oraclesAbout
| Examples | 16 |
|---|---|
| Checked against | SageMath 14 agreeRust 15 agree |
| Crosswalk | Rust |
Implementation
mapped
rustpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.ts See also: AdicNumeral, AdicExpansion