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

fmt: example format for %e and %E float verbs is incorrect #12340

Closed
kostya-sh opened this issue Aug 26, 2015 · 1 comment
Closed

fmt: example format for %e and %E float verbs is incorrect #12340

kostya-sh opened this issue Aug 26, 2015 · 1 comment

Comments

@kostya-sh
Copy link
Contributor

From http://golang.org/pkg/fmt/:

%e  scientific notation, e.g. -1234.456e+78
%E  scientific notation, e.g. -1234.456E+78

while it should be (one non-zero digit before decimal point):

%e  scientific notation, e.g. -1.234567e+78
%E  scientific notation, e.g. -1.234567E+78

http://play.golang.org/p/llGQ0mAT73

@gopherbot
Copy link

CL https://golang.org/cl/13949 mentions this issue.

@minux minux closed this as completed in 24e4cd9 Aug 31, 2015
@golang golang locked and limited conversation to collaborators Sep 4, 2016
@rsc rsc unassigned robpike Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants