X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FStatistics.cc;h=a9cb32581f89c88a08345769b7e6d6b35dd54d16;hb=f076d352ab8df15662180942996ebc70a9e4d765;hp=a96b33ba44f878dc304c82359b27eba9866c991a;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Statistics.cc b/senf/Utils/Statistics.cc index a96b33b..a9cb325 100644 --- a/senf/Utils/Statistics.cc +++ b/senf/Utils/Statistics.cc @@ -28,7 +28,7 @@ // Custom includes #include -#include "Console/Console.hh" +#include #include "StatisticsTargets.hh" //#include "Statistics.mpp" @@ -86,18 +86,18 @@ senf::StatisticsBase::output(unsigned n) char *format_eng( float f) { static char buf[16]; - if( f > 0){ + if (f > 0) { int n = 0; - while( f >= 1000.0f){ + while( f >= 1000.0f) { f /= 1000.f; n+=3; } sprintf( buf, " %3.2fe%+03d", f, n); } - else if( f < 0){ + else if (f < 0) { int n = 0; - while( f <= -1000.0f){ + while( f <= -1000.0f) { f *= 1000.f; n+=3; }