34 #ifndef _CYMEALG_BOOSTRND_H_ 35 #define _CYMEALG_BOOSTRND_H_ 38 #include "boost/numeric/interval.hpp" 47 template <
class numType>
55 static inline numType WHAT (const numType &x, const numType &y) \ 57 numType result = Rounding. WHAT (x, y); \ 58 Rounding. to_nearest (); \ 84 static boost::numeric::interval_lib::rounded_arith_std<numType>
90 template <
class numType>
91 boost::numeric::interval_lib::rounded_arith_std<numType>
97 #endif // _CYMEALG_BOOSTRND_H_
#define DEFOP(WHAT)
This is an internal macro of the class template "tBoostRounding" which defines arithmetic operations ...
static boost::numeric::interval_lib::rounded_arith_std< numType > Rounding
This is an object from the BOOST library which contains the definitions of arithmetic operations with...
A class for rounding operations which uses the BOOST library.