Skip to content

Rational power of BigFloat should use specialised MPFR function #55204

Open

Description

big(1.3)^(1//7) currently converts the rational to BigFloat before computing the power, thereby losing accuracy.

It should instead use the specialised MPFR function mpfr_rootn_si.

cc @oscardssmith

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

Metadata

Assignees

No one assigned

    Labels

    bignumsBigInt and BigFloatmathsMathematical functionsrationalsThe Rational type and values thereof

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions