USRP Hardware Driver and USRP Manual Version: 4.1.0.3
UHD and USRP Manual
math.hpp File Reference
#include <uhd/config.hpp>
#include <uhd/exception.hpp>
#include <stdint.h>
#include <boost/numeric/conversion/bounds.hpp>
#include <cmath>
#include <boost/math/common_factor.hpp>
#include <uhd/utils/fp_compare_delta.ipp>
#include <uhd/utils/fp_compare_epsilon.ipp>

Go to the source code of this file.

Classes

class  uhd::math::fp_compare::fp_compare_epsilon< float_t >
 
class  uhd::math::fp_compare::fp_compare_delta< float_t >
 

Namespaces

namespace  uhd
 
namespace  uhd::math
 
namespace  uhd::math::fp_compare
 

Functions

template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator== (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator!= (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator< (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator<= (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator> (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator>= (fp_compare_epsilon< float_t > lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator== (fp_compare_epsilon< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator!= (fp_compare_epsilon< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator< (fp_compare_epsilon< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator<= (fp_compare_epsilon< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator> (fp_compare_epsilon< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator>= (fp_compare_epsilon< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator== (double lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator!= (double lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator< (double lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator<= (double lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator> (double lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator>= (double lhs, fp_compare_epsilon< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator== (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator!= (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator< (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator<= (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator> (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator>= (fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator== (fp_compare_delta< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator!= (fp_compare_delta< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator< (fp_compare_delta< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator<= (fp_compare_delta< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator> (fp_compare_delta< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator>= (fp_compare_delta< float_t > lhs, double rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator== (double lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator!= (double lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator< (double lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator<= (double lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator> (double lhs, fp_compare_delta< float_t > rhs)
 
template<typename float_t >
UHD_INLINE bool uhd::math::fp_compare::operator>= (double lhs, fp_compare_delta< float_t > rhs)
 
UHD_INLINE bool uhd::math::frequencies_are_equal (double lhs, double rhs)
 
double uhd::math::dB_to_lin (const double dB_val)
 
double uhd::math::lin_to_dB (const double val)
 
template<typename IntegerType >
IntegerType uhd::math::lcm (IntegerType x, IntegerType y)
 Portable version of lcm() across Boost versions. More...
 
template<typename IntegerType >
IntegerType uhd::math::gcd (IntegerType x, IntegerType y)
 Portable version of gcd() across Boost versions. More...