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

use 64 bit precision when formatting float values #314

Merged
merged 1 commit into from
Jan 9, 2018

Conversation

rogpeppe
Copy link
Contributor

@rogpeppe rogpeppe commented Jan 9, 2018

It seems that the use of 32 bits here was an oversight.

@rogpeppe rogpeppe merged commit 031c922 into go-yaml:devel Jan 9, 2018
@prashantv
Copy link
Contributor

@rogpeppe This caused an issue when formatting float32 values (see #352), I put up a fix in #353, would appreciate a review, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants