34 #ifndef _FINRESDYN_ROUNDING_H_ 35 #define _FINRESDYN_ROUNDING_H_ 39 #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 (); \ 90 static boost::numeric::interval_lib::rounded_arith_std<NumType>
99 return __FLT_DENORM_MIN__;
105 return __DBL_DENORM_MIN__;
111 return __LDBL_DENORM_MIN__;
116 template <
class NumType>
117 boost::numeric::interval_lib::rounded_arith_std<NumType>
121 #endif // _FINRESDYN_ROUNDING_H_ 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.
static NumType min_number()
The smallest positive representable number.
#define DEFOP(WHAT)
This is an internal macro of the class template "tRounding" which defines arithmetic operations using...