Commit 9128d841 authored by Jesse Beder's avatar Jesse Beder
Browse files

Set the precision of emitting float/double to 15

parent ca5992b9
...@@ -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