Developer documentation

mmx::numerics Namespace Reference

Namespaces

 rdw
 
 rup
 

Classes

struct  bit_resolution
 
struct  bit_resolution< double >
 
struct  bit_resolution< long double >
 
struct  epsilon
 
struct  false_t
 
struct  fpu_rounding
 
struct  fpu_rounding< floating<> >
 
struct  fpu_rounding< long double >
 
struct  hdwi
 
struct  hdwimax
 
struct  hdwimax< hdwi, 0 >
 
struct  hdwintp
 
struct  inexact
 
struct  inexact< long double >
 
struct  interval_base
 
struct  interval_base< T, 1 >
 
struct  interval_base< T, 2 >
 
struct  interval_base< T, 3 >
 
struct  is_rounded
 
struct  is_rounded< double >
 
struct  is_rounded< float >
 
struct  is_rounded< long double >
 
struct  LongVersion
 
struct  LongVersion< double >
 
struct  LongVersion< float >
 
struct  LongVersion< floating<> >
 
struct  rounding
 
struct  true_t
 

Functions

template<class T >
unsigned bitprec (const T &e, const T &l=T(1.0))
 
template<class unsigned_t >
void sal (unsigned_t &a, unsigned n)
 
template<typename unsigned_t >
void hsal (unsigned &ha, unsigned_t &a, unsigned &hb, unsigned_t &b)
 
int get_cw ()
 
int get_rnd ()
 
void set_cw (int cw)
 
template<typename T >
div_dw (const T &a, const T &b)
 
template<typename T >
div_up (const T &a, const T &b)
 
template<typename T >
add_dw (const T &a, const T &b)
 
template<typename T >
add_up (const T &a, const T &b)
 
template<typename T >
mul_dw (const T &a, const T &b)
 
template<typename T >
mul_up (const T &a, const T &b)
 
template<typename T >
sub_dw (const T &a, const T &b)
 
template<typename T >
sub_up (const T &a, const T &b)
 

Function Documentation

template<typename T >
T mmx::numerics::add_dw ( const T &  a,
const T &  b 
)
inline
template<typename T >
T mmx::numerics::add_up ( const T &  a,
const T &  b 
)
inline
template<class T >
unsigned mmx::numerics::bitprec ( const T &  e,
const T &  l = T(1.0) 
)
template<typename T >
T mmx::numerics::div_dw ( const T &  a,
const T &  b 
)
inline
template<typename T >
T mmx::numerics::div_up ( const T &  a,
const T &  b 
)
inline
int mmx::numerics::get_cw ( )
inline
int mmx::numerics::get_rnd ( )
inline
template<typename unsigned_t >
void mmx::numerics::hsal ( unsigned &  ha,
unsigned_t &  a,
unsigned &  hb,
unsigned_t &  b 
)
template<typename T >
T mmx::numerics::mul_dw ( const T &  a,
const T &  b 
)
inline
template<typename T >
T mmx::numerics::mul_up ( const T &  a,
const T &  b 
)
inline
template<class unsigned_t >
void mmx::numerics::sal ( unsigned_t &  a,
unsigned  n 
)
void mmx::numerics::set_cw ( int  cw)
inline
template<typename T >
T mmx::numerics::sub_dw ( const T &  a,
const T &  b 
)
inline
template<typename T >
T mmx::numerics::sub_up ( const T &  a,
const T &  b 
)
inline
Home