d = adicDigit(p, e, x)
D = adicDigit(p, e, L)
The command adicDigit(p, e, 0) returns 0. If $x$ is a rational number in the interval (0,1], then adicDigit(p, e, x) returns the coefficient of $p^{-e}$ in the non-terminating base $p$ expansion of $x$.
|
If $L$ is a list of rational numbers in the unit interval, adicDigit(p, e, L) returns a list containing the $e^{th}$ digits (base $p$) of the elements of $L$.
|
The object adicDigit is a method function.