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: %F exists but is broken #7518

robpike opened this issue Mar 12, 2014 · 1 comment

fmt: %F exists but is broken #7518

robpike opened this issue Mar 12, 2014 · 1 comment


Copy link

@robpike robpike commented Mar 12, 2014

In C, %f and %F mean the same thing.

In Go, they are synonyms when scanning but %F is only accepted for complex numbers,
where it produces gibberish. It's easy and safe to make it work; it'a also easy and safe
to take it out for printing but leave it in for scanning. I favor making it work for
printing floats and complexes but could be talked into taking it out.

For scanning, though, it should stay.

Resolve for 1.3.
Copy link
Contributor Author

@robpike robpike commented Mar 19, 2014

Comment 1:

This issue was closed by revision b00d967.

Status changed to Fixed.

@robpike robpike added fixed labels Mar 19, 2014
@robpike robpike self-assigned this Mar 19, 2014
@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.