From d2ad7a4d285b769383d6bb9df72e690cd3c6a110 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 6 Aug 2014 17:04:52 +0200 Subject: [PATCH] Increase the output precision for floating point types. --- vhdlpp/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vhdlpp/main.cc b/vhdlpp/main.cc index 45fb02e9d..f0351dcd9 100644 --- a/vhdlpp/main.cc +++ b/vhdlpp/main.cc @@ -82,6 +82,7 @@ const char NOTICE[] = # include # include # include +# include #if defined(HAVE_GETOPT_H) # include #endif @@ -178,6 +179,7 @@ int main(int argc, char*argv[]) } } + std::cout.precision(std::numeric_limits::digits10); library_set_work_path(work_path); preload_global_types();