diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-16 11:38:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-16 11:38:35 +0100 |
| commit | a8ae455886f36c19257129f34b172051bbe120bf (patch) | |
| tree | c3b5f9d66b660b440acdfa8cceebca816281cd19 /src/raw_convert.h | |
| parent | 2f0e6ee9d883abbbc31aca0d1cc80e89eb9b0af2 (diff) | |
Hand-merge changes from master (110dc70..979739e)
Diffstat (limited to 'src/raw_convert.h')
| -rw-r--r-- | src/raw_convert.h | 2 |
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; |
