You need to sign in or sign up before continuing.
Commit 9419d411 authored by jbeder's avatar jbeder
Browse files

Set the precision of emitting float/double to 15

parent 6f7995d2
...@@ -116,6 +116,7 @@ namespace YAML ...@@ -116,6 +116,7 @@ namespace YAML
EmitSeparationIfNecessary(); EmitSeparationIfNecessary();
std::stringstream str; std::stringstream str;
str.precision(15);
str << value; str << value;
m_stream << str.str(); m_stream << str.str();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment