diff --git a/bench1.cpp b/bench1.cpp index 51b4be41..82014aaa 100644 --- a/bench1.cpp +++ b/bench1.cpp @@ -122,13 +122,13 @@ void OutputResultOperations(const char *name, const char *provider, const char * oss << "\n" << name << " " << operation << (pc ? " with precomputation" : ""); //oss << "" << provider; - oss << "" << std::setprecision(2) << std::setiosflags(std::ios::fixed) << (1000*timeTaken/iterations); + oss << "" << std::setprecision(4) << std::setiosflags(std::ios::fixed) << (1000*timeTaken/iterations); // Coverity finding if (g_hertz > 1.0f) { const double t = timeTaken * g_hertz / iterations / 1000000; - oss << "" << std::setprecision(2) << std::setiosflags(std::ios::fixed) << t; + oss << "" << std::setprecision(4) << std::setiosflags(std::ios::fixed) << t; } g_logTotal += log(iterations/timeTaken);