Commit 8f0ed257 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Remove definition of round functions

This caused errors in VACore build.
As new compilers support this, it is removed completely.
parent eb485032
......@@ -49,20 +49,6 @@ ITA_BASE_API bool isPow2( unsigned int x );
//! Nächstgrößeres Zweierpotenz zurückgeben
ITA_BASE_API unsigned int nextPow2( unsigned int x );
// Rundung auf Compilern definieren die dies nicht standardmäßig mitliefern
// not so nice!! consider namespacing this very typical function names
#ifndef HAVE_ROUND
ITA_BASE_API inline double round( double x )
{
return ( x < 0 ? ceil( ( x ) -0.5 ) : floor( ( x ) +0.5 ) );
};
ITA_BASE_API inline float roundf( float x )
{
return ( x < 0 ? ceil( ( x ) -0.5f ) : floor( ( x ) +0.5f ) );
};
#endif
//! Nächstkleineres Vielfaches von mul zu einer Zahl x zurückgeben
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment