switch 15 with 17 (imho tests are wrong!)

This commit is contained in:
Stefano Fiorentino 2016-02-12 12:52:24 +01:00
parent c0a7cfa798
commit 7faf207d06

View File

@ -143,7 +143,7 @@ std::string valueToString(double value, bool useSpecialFloats, unsigned int prec
int len = -1;
std::stringstream value_ss;
value_ss << std::setprecision( 15 ) << value;
value_ss << std::setprecision( 17 ) << value;
std::string value_str = value_ss.str();
// Print into the buffer. We need not request the alternative representation