math/big: Support precision of -1 in Rat.FloatString #47911
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
The
strconv.FormatFloat
function accepts a special precision of-1
to mean to use the smallest number of digits necessary such thatParseFloat
will return float exactly. This is a feature request to accept the same formath/big.Rat.FloatString
.The text was updated successfully, but these errors were encountered: