CAPD::DynSys Library  6.0.0
capd::rounding Namespace Reference

Classes

class  DoubleRounding
 Definition of class that switches rounding modes of double numbers. More...
 
class  IntRounding
 Definition of class that virtually switches rounding modes of integer numbers because in this case no switching is needed (all operations are exact) More...
 
class  RoundingTraits
 Class that for given type defines default class for rounding switching. More...
 
class  RoundingTraits< double >
 
class  RoundingTraits< float >
 
class  RoundingTraits< long double >
 
class  RoundingTraits< int >
 

Enumerations

enum  RoundingMode {
  RoundUnknown = -1 , RoundNearest , RoundDown , RoundUp ,
  RoundCut
}
 Rounding modes. More...
 

Functions

template<typename T >
void setRounding (const capd::rounding::RoundingMode &rounding)
 

Function Documentation

◆ setRounding()

template<typename T >
void capd::rounding::setRounding ( const capd::rounding::RoundingMode rounding)