Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barrett todecimal #331

Closed

Commits on Aug 31, 2019

  1. Add a new mp_todec_fast...

    that uses Barrett reduction to speed up stringifying large integers.
    MasterDuke17 committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    cfe1756 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e629c1e View commit details
    Browse the repository at this point in the history
  3. Make mp_todecimal_fast take a pre-allocated...

    buffer like `mp_toradix` does.
    MasterDuke17 committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    4accd98 View commit details
    Browse the repository at this point in the history
  4. Turn the mp_todecimal macro into a function...

    that uses MP_HAS to decide whether to use `mp_toradix` or
    `s_mp_todecimal_fast`.
    MasterDuke17 committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    f84b69c View commit details
    Browse the repository at this point in the history