Author mark.dickinson
Recipients docs@python, eric.smith, mark.dickinson, sk1d
Date 2018-02-08.19:40:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Maybe the documentation could also add this information in the chart for 'g' here:

Agreed that that would make sense. All the information is *there* in the docs (the alternate format is described a bit above that table), but it's not very easy to extract the information.

And that table entry is misleading as it currently is, since it suggests that trailing zeros are removed unconditionally: "In both cases insignificant trailing zeros are removed from the significand, and the decimal point is also removed if there are no remaining digits following it."

Perhaps we could adopt something like the wording in the C standard, where it says:

> Finally, unless the # flag is used, any trailing zeros are removed
> from the fractional portion of the result and the decimal-point
> character is removed if there is no fractional portion remaining.

Re-classifying as a documentation issue.
Date User Action Args
2018-02-08 19:40:01mark.dickinsonsetrecipients: + mark.dickinson, eric.smith, docs@python, sk1d
2018-02-08 19:40:01mark.dickinsonsetmessageid: <>
2018-02-08 19:40:01mark.dickinsonlinkissue32790 messages
2018-02-08 19:40:01mark.dickinsoncreate