USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-g6563c537
UHD and USRP Manual
math.hpp File Reference
#include <uhd/config.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

 uhd
 
 uhd::math
 
 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)
 
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...