Code-Eli  0.3.6
eli::util Namespace Reference

Classes

struct  always_false
 
struct  always_true
 
struct  double_type
 
union  float_type
 
union  long_double_type
 
struct  promote_traits
 
struct  promote_traits< double, float >
 
struct  promote_traits< double, long double >
 
struct  promote_traits< float, double >
 
struct  promote_traits< float, long double >
 
struct  promote_traits< long double, double >
 
struct  promote_traits< long double, float >
 
struct  promoted_type_undefined
 
class  tolerance
 
class  traits
 
class  traits< eli::mutil::ad::dual_number::constant< data__ > >
 

Functions

const float_typeset_floating_point_type (const float *pcf)
 
float_typeset_floating_point_type (float *pf)
 
const double_typeset_floating_point_type (const double *pcf)
 
double_typeset_floating_point_type (double *pf)
 
const long_double_typeset_floating_point_type (const long double *pcf)
 
long_double_typeset_floating_point_type (long double *pf)
 
std::ostream & operator<< (std::ostream &ostr, const float_type &ft)
 
std::ostream & operator<< (std::ostream &ostr, const double_type &ft)
 
std::ostream & operator<< (std::ostream &ostr, const long_double_type &ft)
 
template<typename data__ >
data__ increment_ulp (const data__ &, const int &)
 
template<>
float increment_ulp< float > (const float &f, const int &n_ulp)
 
template<>
double increment_ulp< double > (const double &f, const int &n_ulp)
 
template<>
long double increment_ulp< long double > (const long double &f, const int &n_ulp)
 

Function Documentation

template<typename data__ >
data__ eli::util::increment_ulp ( const data__ &  ,
const int &   
)
template<>
double eli::util::increment_ulp< double > ( const double &  f,
const int &  n_ulp 
)
template<>
float eli::util::increment_ulp< float > ( const float &  f,
const int &  n_ulp 
)
template<>
long double eli::util::increment_ulp< long double > ( const long double &  f,
const int &  n_ulp 
)
std::ostream& eli::util::operator<< ( std::ostream &  ostr,
const float_type ft 
)
std::ostream& eli::util::operator<< ( std::ostream &  ostr,
const double_type ft 
)
std::ostream& eli::util::operator<< ( std::ostream &  ostr,
const long_double_type ft 
)
const float_type* eli::util::set_floating_point_type ( const float *  pcf)
float_type* eli::util::set_floating_point_type ( float *  pf)
const double_type* eli::util::set_floating_point_type ( const double *  pcf)
double_type* eli::util::set_floating_point_type ( double *  pf)
const long_double_type* eli::util::set_floating_point_type ( const long double *  pcf)
long_double_type* eli::util::set_floating_point_type ( long double *  pf)