Increase the output precision for floating point types.

This commit is contained in:
Maciej Suminski 2014-08-06 17:04:52 +02:00
parent 5830ecd67e
commit d2ad7a4d28
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@ const char NOTICE[] =
# include <cstdlib>
# include <cstring>
# include <cerrno>
# include <limits>
#if defined(HAVE_GETOPT_H)
# include <getopt.h>
#endif
@ -178,6 +179,7 @@ int main(int argc, char*argv[])
}
}
std::cout.precision(std::numeric_limits<double>::digits10);
library_set_work_path(work_path);
preload_global_types();