summaryrefslogtreecommitdiff
path: root/src/raw_convert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/raw_convert.h')
-rw-r--r--src/raw_convert.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raw_convert.h b/src/raw_convert.h
index 68bbaf7a..37cddbf0 100644
--- a/src/raw_convert.h
+++ b/src/raw_convert.h
@@ -18,6 +18,7 @@
*/
#include <sstream>
+#include <iomanip>
namespace dcp {
@@ -30,6 +31,7 @@ raw_convert (Q v)
{
std::stringstream s;
s.imbue (std::locale::classic ());
+ s << std::setprecision (16);
s << v;
P r;
s >> r;