CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
Rounding.h File Reference
#include <cmath>

Go to the source code of this file.

Namespaces

 cms_rounding
 

Functions

template<class valType >
constexpr valType cms_rounding::roundIfNear0 (valType value, double tolerance=1.e-7)
 
template<class valType >
constexpr valType cms_rounding::roundVecIfNear0 (valType value, double tolerance=1.e-7)