stylewarning / hypergeometrica

Livin' like it's 1813 (or 1988).
BSD 3-Clause "New" or "Revised" License
30 stars 6 forks source link

rename DIGIT to LIMB, COEF, or something else #47

Open stylewarning opened 1 year ago

stylewarning commented 1 year ago

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.