MRPT  1.9.9
round.h File Reference
#include <mrpt/core/SSE_types.h>
#include <cmath>
Include dependency graph for round.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.


template<typename T >
int mrpt::round (const T value)
 Returns the closer integer (int) to x. More...
template<typename T >
long mrpt::round_long (const T value)
 Returns the closer integer (long) to x. More...
template<class T >
mrpt::round_10power (T val, int power10)
 Round a decimal number up to the given 10'th power (eg, to 1000,100,10, and also fractions) power10 means round up to: 1 -> 10, 2 -> 100, 3 -> 1000, ... More...

Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020