tRounding< NumType > Class Template Reference

A class for rounding operations which uses the BOOST library. More...

#include <rounding.h>

List of all members.

Public Member Functions

template<>
float min_number ()
template<>
double min_number ()
template<>
long double min_number ()

Static Public Member Functions

static NumType min_number ()
 The smallest positive representable number.

Static Private Attributes

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 correct rounding.


Detailed Description

template<class NumType>
class tRounding< NumType >

A class for rounding operations which uses the BOOST library.

Definition at line 48 of file rounding.h.


Member Function Documentation

template<class NumType>
static NumType tRounding< NumType >::min_number (  )  [static]

The smallest positive representable number.

This function returns the smallest possible positive number, which typically equals the machine precision and may be implementation-dependent for different number types.

Referenced by tCoverBoxes< NumType >::tCoverBoxes().

template<>
float tRounding< float >::min_number (  )  [inline]

Definition at line 97 of file rounding.h.

template<>
double tRounding< double >::min_number (  )  [inline]

Definition at line 103 of file rounding.h.

template<>
long double tRounding< long double >::min_number (  )  [inline]

Definition at line 109 of file rounding.h.


Member Data Documentation

template<class NumType>
boost::numeric::interval_lib::rounded_arith_std< NumType > tRounding< NumType >::Rounding [inline, static, private]

This is an object from the BOOST library which contains the definitions of arithmetic operations with correct rounding.

Definition at line 91 of file rounding.h.


The documentation for this class was generated from the following file:
Generated on Mon Apr 12 15:09:57 2010 for The Finite Resolution Dynamics Software by  doxygen 1.5.3