Talk:P-Adic numbers, basic

From Rosetta Code

Clarification Regarding Base

The examples use all kinds of different bases, including one example that uses base 10, which is not prime, resulting in an l-adic ring instead of a p-adic field! The specific example shown there happens to work, because the denominator in the fractions used is prime relative to the base, although the task description doesn't give any guidelines. I think a reasonable default guideline could be to copy the examples that use a p-adic field from the FreeBasic solution, which anyway appears to be the one that most other solutions translated. --Adlai (talk) 07:19, 3 March 2021 (UTC)