Skip to content

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

Description

@stylewarning

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions