Skip to content

Rational power of BigFloat should use specialised MPFR function #55204

Open
@dpsanders

Description

@dpsanders

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

Metadata

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