Skip to content

math/big: Support precision of -1 in Rat.FloatString #47911

@Thomasdezeeuw

Description

@Thomasdezeeuw

The strconv.FormatFloat function accepts a special precision of -1 to mean to use the smallest number of digits necessary such that ParseFloat will return float exactly. This is a feature request to accept the same for math/big.Rat.FloatString.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions