Increase the output precision for floating point types.
This commit is contained in:
parent
5830ecd67e
commit
d2ad7a4d28
|
|
@ -82,6 +82,7 @@ const char NOTICE[] =
|
||||||
# include <cstdlib>
|
# include <cstdlib>
|
||||||
# include <cstring>
|
# include <cstring>
|
||||||
# include <cerrno>
|
# include <cerrno>
|
||||||
|
# include <limits>
|
||||||
#if defined(HAVE_GETOPT_H)
|
#if defined(HAVE_GETOPT_H)
|
||||||
# include <getopt.h>
|
# include <getopt.h>
|
||||||
#endif
|
#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);
|
library_set_work_path(work_path);
|
||||||
|
|
||||||
preload_global_types();
|
preload_global_types();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue