It has become too confusing in the code, in the debug messages, in the error messages, etc. what a "digit" is.
Internally in the code, a "digit" is a number in the radix $base. But when I personally read "digit", I often think of a decimal digit.
GMP uses "limb". These things can also be seen as "coefficients" in a polynomial representation of the number. Maybe there's some other better/short name.
It has become too confusing in the code, in the debug messages, in the error messages, etc. what a "digit" is.
Internally in the code, a "digit" is a number in the radix
$base
. But when I personally read "digit", I often think of a decimal digit.GMP uses "limb". These things can also be seen as "coefficients" in a polynomial representation of the number. Maybe there's some other better/short name.
In any case, it needs to change.