#include "boost/numeric/interval.hpp"
Go to the source code of this file.
Classes | |
| class | tRounding< NumType > |
| A class for rounding operations which uses the BOOST library. More... | |
Defines | |
| #define | DEFOP(WHAT) |
| This is an internal macro of the class template "tRounding" which defines arithmetic operations using the operations available in the BOOST library. | |
This file contains the definition of a class for doing arithmetic operations with controlled rounding directions (upwards/downwards). This class uses the BOOST library.
Definition in file rounding.h.
| #define DEFOP | ( | WHAT | ) |
Value:
static inline NumType WHAT (const NumType &x, const NumType &y) \ { \ NumType result = Rounding. WHAT (x, y); \ Rounding. to_nearest (); \ return result; \ }
Definition at line 54 of file rounding.h.
1.5.3