Skip to content

Proposal: remove MPFR dependency #160

@tkfu

Description

@tkfu

As far as I can see, the only truly required use of MPFR is for correct rounding towards zero via mpfr_get_z (ret->bytes, size, MPFR_RNDZ). Would you consider a patch that removed MPFR, and just added a helper function for rounding? (And then switch the rest of the uses of MPFR to use the equivalent mpf_ functions from GMP.) I've got a local version of this patch that's passing tests.

My issue is that MPFR is GPLv3 only since quite some time now, and this ends up being a blocker for embedded systems that will use secureboot, because of the GPLv3 anti-tivoization clause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions