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

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

Open
Thomasdezeeuw opened this issue Aug 23, 2021 · 1 comment
Open

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

Thomasdezeeuw opened this issue Aug 23, 2021 · 1 comment
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@Thomasdezeeuw
Copy link
Contributor

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.

@gopherbot
Copy link

Change https://golang.org/cl/344729 mentions this issue: math/big: Support precision of -1 in Rat.FloatString

@toothrot toothrot added the NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. label Aug 24, 2021
@toothrot toothrot added this to the Backlog milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants