The CyMeAlg Software (Release 0.01)
Classes | Namespaces | Macros
boostrnd.h File Reference

This file contains the definition of a class for rounding operations for graph algorithms, based on the BOOST library. More...

#include "boost/numeric/interval.hpp"

Go to the source code of this file.

Classes

class  cymealg::tBoostRounding< numType >
 A class for rounding operations which uses the BOOST library. More...
 

Namespaces

 cymealg
 

Macros

#define DEFOP(WHAT)
 This is an internal macro of the class template "tBoostRounding" which defines arithmetic operations using the operations available in the BOOST library. More...
 

Detailed Description

This file contains the definition of a class for rounding operations for graph algorithms, based on the BOOST library.

Author
Pawel Pilarczyk

Definition in file boostrnd.h.

Macro Definition Documentation

◆ DEFOP

#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; \
}

This is an internal macro of the class template "tBoostRounding" which defines arithmetic operations using the operations available in the BOOST library.

Definition at line 54 of file boostrnd.h.